aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorArthur Deierlein2024-03-19 12:27:46 +0000
committerGitHub2024-03-19 12:27:46 +0000
commit0b6dea6dc2f78376890beeb31b591987f7f5249b (patch)
treec92495ce3e92461fa701468749dc41e970948706 /languages.toml
parent6a22d7d1cad8fde27d8ba02629c3d33ab535f7b5 (diff)
Enhance support for PKGBUILDS (#9909)
* enhance support for PKGBUILDS * run cargo xtask docgen
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml14
1 files changed, 13 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 1cf8da37..7c23f1f4 100644
--- a/languages.toml
+++ b/languages.toml
@@ -96,6 +96,7 @@ yaml-language-server = { command = "yaml-language-server", args = ["--stdio"] }
zls = { command = "zls" }
blueprint-compiler = { command = "blueprint-compiler", args = ["lsp"] }
typst-lsp = { command = "typst-lsp" }
+pkgbuild-language-server = { command = "pkgbuild-language-server" }
[language-server.ansible-language-server]
command = "ansible-language-server"
@@ -906,7 +907,6 @@ file-types = [
{ glob = ".zshrc" },
{ glob = ".zimrc" },
{ glob = "APKBUILD" },
- { glob = "PKGBUILD" },
{ glob = ".bash_aliases" },
{ glob = ".Renviron" },
{ glob = ".xprofile" },
@@ -3352,3 +3352,15 @@ indent = { tab-width = 4, unit = "\t" }
[[grammar]]
name = "supercollider"
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" },
+] \ No newline at end of file