mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 02:46:17 +04:00
Enhance support for PKGBUILDS (#9909)
* enhance support for PKGBUILDS * run cargo xtask docgen
This commit is contained in:
parent
6a22d7d1ca
commit
0b6dea6dc2
@ -134,6 +134,7 @@
|
|||||||
| perl | ✓ | ✓ | ✓ | `perlnavigator` |
|
| perl | ✓ | ✓ | ✓ | `perlnavigator` |
|
||||||
| php | ✓ | ✓ | ✓ | `intelephense` |
|
| php | ✓ | ✓ | ✓ | `intelephense` |
|
||||||
| php-only | ✓ | | | |
|
| php-only | ✓ | | | |
|
||||||
|
| pkgbuild | ✓ | ✓ | ✓ | `pkgbuild-language-server`, `bash-language-server` |
|
||||||
| pkl | ✓ | | ✓ | |
|
| pkl | ✓ | | ✓ | |
|
||||||
| po | ✓ | ✓ | | |
|
| po | ✓ | ✓ | | |
|
||||||
| pod | ✓ | | | |
|
| pod | ✓ | | | |
|
||||||
|
@ -96,6 +96,7 @@ yaml-language-server = { command = "yaml-language-server", args = ["--stdio"] }
|
|||||||
zls = { command = "zls" }
|
zls = { command = "zls" }
|
||||||
blueprint-compiler = { command = "blueprint-compiler", args = ["lsp"] }
|
blueprint-compiler = { command = "blueprint-compiler", args = ["lsp"] }
|
||||||
typst-lsp = { command = "typst-lsp" }
|
typst-lsp = { command = "typst-lsp" }
|
||||||
|
pkgbuild-language-server = { command = "pkgbuild-language-server" }
|
||||||
|
|
||||||
[language-server.ansible-language-server]
|
[language-server.ansible-language-server]
|
||||||
command = "ansible-language-server"
|
command = "ansible-language-server"
|
||||||
@ -906,7 +907,6 @@ file-types = [
|
|||||||
{ glob = ".zshrc" },
|
{ glob = ".zshrc" },
|
||||||
{ glob = ".zimrc" },
|
{ glob = ".zimrc" },
|
||||||
{ glob = "APKBUILD" },
|
{ glob = "APKBUILD" },
|
||||||
{ glob = "PKGBUILD" },
|
|
||||||
{ glob = ".bash_aliases" },
|
{ glob = ".bash_aliases" },
|
||||||
{ glob = ".Renviron" },
|
{ glob = ".Renviron" },
|
||||||
{ glob = ".xprofile" },
|
{ glob = ".xprofile" },
|
||||||
@ -3352,3 +3352,15 @@ indent = { tab-width = 4, unit = "\t" }
|
|||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "supercollider"
|
name = "supercollider"
|
||||||
source = { git = "https://github.com/madskjeldgaard/tree-sitter-supercollider", rev = "3b35bd0fded4423c8fb30e9585c7bacbcd0e8095" }
|
source = { git = "https://github.com/madskjeldgaard/tree-sitter-supercollider", rev = "3b35bd0fded4423c8fb30e9585c7bacbcd0e8095" }
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "pkgbuild"
|
||||||
|
scope = "source.bash"
|
||||||
|
file-types = [{ glob = "PKGBUILD" }]
|
||||||
|
grammar = "bash"
|
||||||
|
language-servers = [
|
||||||
|
"pkgbuild-language-server",
|
||||||
|
{ except-features = [
|
||||||
|
"diagnostics",
|
||||||
|
], name = "bash-language-server" },
|
||||||
|
]
|
1
runtime/queries/pkgbuild/highlights.scm
Normal file
1
runtime/queries/pkgbuild/highlights.scm
Normal file
@ -0,0 +1 @@
|
|||||||
|
; inherits: bash
|
1
runtime/queries/pkgbuild/indents.scm
Normal file
1
runtime/queries/pkgbuild/indents.scm
Normal file
@ -0,0 +1 @@
|
|||||||
|
; inherits: bash
|
1
runtime/queries/pkgbuild/injections.scm
Normal file
1
runtime/queries/pkgbuild/injections.scm
Normal file
@ -0,0 +1 @@
|
|||||||
|
; inherits: bash
|
1
runtime/queries/pkgbuild/textobjects.scm
Normal file
1
runtime/queries/pkgbuild/textobjects.scm
Normal file
@ -0,0 +1 @@
|
|||||||
|
; inherits: bash
|
Loading…
Reference in New Issue
Block a user