mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 10:20:11 -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)
|
(multiline_string)
|
||||||
(string)
|
(string)
|
||||||
] @injection.content)
|
] @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"))
|
"json" "toml" "yaml" "xml" "sql" "lua" "js" "html" "css" "http" "jq" "latex" "md" "nix" "regex"))
|
||||||
|
|
||||||
;injection from piping function calls
|
;injection from piping function calls
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
part: (operator)
|
part: (operator)
|
||||||
part: (variable_expr
|
part: (variable_expr
|
||||||
(identifier) @injection.language)
|
(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"))
|
"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