Skip to content

Commit

Permalink
enhance support for PKGBUILDS
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Mar 19, 2024
1 parent 3d4889c commit 33100ff
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
14 changes: 13 additions & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -906,7 +907,6 @@ file-types = [
{ glob = ".zshrc" },
{ glob = ".zimrc" },
{ glob = "APKBUILD" },
{ glob = "PKGBUILD" },
{ glob = ".bash_aliases" },
{ glob = ".Renviron" },
{ glob = ".xprofile" },
Expand Down Expand Up @@ -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" },
]
1 change: 1 addition & 0 deletions runtime/queries/pkgbuild/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; inherits: bash
1 change: 1 addition & 0 deletions runtime/queries/pkgbuild/indents.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; inherits: bash
1 change: 1 addition & 0 deletions runtime/queries/pkgbuild/injections.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; inherits: bash
1 change: 1 addition & 0 deletions runtime/queries/pkgbuild/textobjects.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; inherits: bash

0 comments on commit 33100ff

Please sign in to comment.