mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
fix(roc): use correct predicate in injections
This commit is contained in:
parent
58dd149629
commit
4c7509e7b0
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
|||
(multiline_string)
|
||||
(string)
|
||||
] @injection.content)
|
||||
(#any-eq? @injection.language
|
||||
(#any-of? @injection.language
|
||||
"json" "toml" "yaml" "xml" "sql" "lua" "js" "html" "css" "http" "jq" "latex" "md" "nix" "regex"))
|
||||
|
||||
;injection from piping function calls
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
part: (operator)
|
||||
part: (variable_expr
|
||||
(identifier) @injection.language)
|
||||
(#any-eq? @injection.language
|
||||
(#any-of? @injection.language
|
||||
"json" "toml" "yaml" "xml" "sql" "lua" "js" "html" "css" "http" "jq" "latex" "md" "nix" "regex"))
|
||||
|
||||
([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue