mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
injections(yang): add comment & regex
This commit is contained in:
parent
04712814cc
commit
caa616d88e
1 changed files with 6 additions and 0 deletions
6
queries/yang/injections.scm
Normal file
6
queries/yang/injections.scm
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
(comment) @comment
|
||||
|
||||
((statement
|
||||
(statement_keyword "pattern")
|
||||
(argument (string) @regex))
|
||||
(#offset! @regex 0 1 0 -1))
|
||||
Loading…
Add table
Add a link
Reference in a new issue