mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 13:30:01 -04:00
fix(nix): reduce injection false positives
This commit is contained in:
parent
afe4e94f1a
commit
121044f0b7
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
(string_expression (string_fragment) @bash)
|
||||
(indented_string_expression (string_fragment) @bash)
|
||||
]
|
||||
(#match? @_path "(^\\w*Phase|(pre|post)\\w*|(.*\\.)?\\w*([sS]cript|[hH]ook)|(.*\\.)?startup)$"))
|
||||
(#match? @_path "(^\\w+(Phase|Hook)|(pre|post)[A-Z]\\w+|script)$"))
|
||||
@combined
|
||||
|
||||
(apply_expression
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue