mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
45
runtime/queries/luap/highlights.scm
Normal file
45
runtime/queries/luap/highlights.scm
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
[
|
||||
(anchor_begin)
|
||||
(anchor_end)
|
||||
] @punctuation.delimiter
|
||||
|
||||
(pattern
|
||||
(character
|
||||
"." @variable.builtin))
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
"("
|
||||
")"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
(zero_or_more)
|
||||
(shortest_zero_or_more)
|
||||
(one_or_more)
|
||||
(zero_or_one)
|
||||
] @operator
|
||||
|
||||
(range
|
||||
from: (character) @constant
|
||||
"-" @operator
|
||||
to: (character) @constant)
|
||||
|
||||
(set
|
||||
(character) @constant)
|
||||
|
||||
(negated_set
|
||||
(character) @constant)
|
||||
|
||||
(class) @string.escape
|
||||
|
||||
(class
|
||||
"%" @string.regexp
|
||||
(escape_char) @string.regexp)
|
||||
|
||||
(negated_set
|
||||
"^" @operator)
|
||||
|
||||
(balanced_match
|
||||
(character) @variable.parameter)
|
||||
Loading…
Add table
Add a link
Reference in a new issue