diff options
| author | stefan <stefan.r.boca@gmail.com> | 2026-01-28 15:55:38 -0800 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2026-01-29 10:41:43 +0100 |
| commit | cc12e37e5bdc5467c9a06ab9b0887a97758f567f (patch) | |
| tree | 0ea8566498776f218e56ccb0e602df2b117c58e1 /runtime | |
| parent | fix(health): update required tree-sitter version (diff) | |
| download | nvim-treesitter-cc12e37e5bdc5467c9a06ab9b0887a97758f567f.tar nvim-treesitter-cc12e37e5bdc5467c9a06ab9b0887a97758f567f.tar.gz nvim-treesitter-cc12e37e5bdc5467c9a06ab9b0887a97758f567f.tar.bz2 nvim-treesitter-cc12e37e5bdc5467c9a06ab9b0887a97758f567f.tar.lz nvim-treesitter-cc12e37e5bdc5467c9a06ab9b0887a97758f567f.tar.xz nvim-treesitter-cc12e37e5bdc5467c9a06ab9b0887a97758f567f.tar.zst nvim-treesitter-cc12e37e5bdc5467c9a06ab9b0887a97758f567f.zip | |
fix(nix): make all bash injections combined
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/queries/nix/injections.scm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/runtime/queries/nix/injections.scm b/runtime/queries/nix/injections.scm index 718a9c1c5..c1593b91f 100644 --- a/runtime/queries/nix/injections.scm +++ b/runtime/queries/nix/injections.scm @@ -48,7 +48,8 @@ ((string_fragment) @injection.content (#set! injection.language "bash"))) ] - (#lua-match? @_path "^%a+Phase$")) + (#lua-match? @_path "^%a+Phase$") + (#set! injection.combined)) (binding attrpath: (attrpath @@ -61,7 +62,8 @@ ((string_fragment) @injection.content (#set! injection.language "bash"))) ] - (#lua-match? @_path "^pre%a+$")) + (#lua-match? @_path "^pre%a+$") + (#set! injection.combined)) (binding attrpath: (attrpath @@ -74,7 +76,8 @@ ((string_fragment) @injection.content (#set! injection.language "bash"))) ] - (#lua-match? @_path "^post%a+$")) + (#lua-match? @_path "^post%a+$") + (#set! injection.combined)) (binding attrpath: (attrpath @@ -87,7 +90,8 @@ ((string_fragment) @injection.content (#set! injection.language "bash"))) ] - (#lua-match? @_path "^script$")) + (#lua-match? @_path "^script$") + (#set! injection.combined)) (apply_expression function: (_) @_func |
