mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
feat(js): add regex injections (#834)
This commit is contained in:
parent
03fea8494c
commit
2e8621ff1a
1 changed files with 2 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
((comment) @jsdoc)
|
((comment) @jsdoc)
|
||||||
|
|
||||||
|
((regex_pattern) @regex)
|
||||||
|
|
||||||
(call_expression
|
(call_expression
|
||||||
function: ((identifier) @_name
|
function: ((identifier) @_name
|
||||||
(#eq? @_name "gql"))
|
(#eq? @_name "gql"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue