mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
feat: add ungrammar
This commit is contained in:
parent
20a8f30ace
commit
fe80f7c2bb
8 changed files with 58 additions and 0 deletions
30
queries/ungrammar/highlights.scm
Normal file
30
queries/ungrammar/highlights.scm
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
(comment) @comment
|
||||
|
||||
(definition) @keyword
|
||||
|
||||
(identifier) @variable
|
||||
|
||||
(label_name) @label
|
||||
|
||||
(token) @string
|
||||
|
||||
[
|
||||
"="
|
||||
"|"
|
||||
] @operator
|
||||
|
||||
[
|
||||
"*"
|
||||
"?"
|
||||
] @repeat
|
||||
|
||||
[
|
||||
":"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
] @punctuation.bracket
|
||||
|
||||
(ERROR) @error
|
||||
Loading…
Add table
Add a link
Reference in a new issue