mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 13:00:08 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
35
runtime/queries/luap/highlights.scm
Normal file
35
runtime/queries/luap/highlights.scm
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
"." @character
|
||||
|
||||
[
|
||||
(anchor_begin)
|
||||
(anchor_end)
|
||||
] @string.escape
|
||||
|
||||
[
|
||||
"[" "]"
|
||||
"(" ")"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
(zero_or_more)
|
||||
(shortest_zero_or_more)
|
||||
(one_or_more)
|
||||
(zero_or_one)
|
||||
] @operator
|
||||
|
||||
(range
|
||||
from: (character) @constant
|
||||
"-" @punctuation.delimiter
|
||||
to: (character) @constant)
|
||||
|
||||
(set
|
||||
(character) @constant)
|
||||
|
||||
(class) @keyword
|
||||
|
||||
(negated_set
|
||||
"^" @operator
|
||||
(character) @constant)
|
||||
|
||||
(balanced_match
|
||||
(character) @parameter)
|
||||
Loading…
Add table
Add a link
Reference in a new issue