mirror of
https://github.com/nvim-treesitter/nvim-treesitter
synced 2024-09-16 14:34:05 +02:00
feat(corn): more highlights, comment injections
This commit is contained in:
parent
c911f19d91
commit
4d112977c7
1 changed files with 15 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
"let" @keyword
|
||||
|
||||
"in" @keyword
|
||||
[
|
||||
"let"
|
||||
"in"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"{"
|
||||
|
@ -11,8 +12,15 @@
|
|||
|
||||
"." @punctuation.delimiter
|
||||
|
||||
[
|
||||
".."
|
||||
"="
|
||||
] @operator
|
||||
|
||||
(input) @constant
|
||||
|
||||
(null) @constant.builtin
|
||||
|
||||
(comment) @comment @spell
|
||||
|
||||
(string) @string
|
||||
|
@ -21,6 +29,9 @@
|
|||
|
||||
(float) @number.float
|
||||
|
||||
(float
|
||||
"." @number.float)
|
||||
|
||||
(boolean) @boolean
|
||||
|
||||
(null) @keyword
|
||||
(path_seg) @property
|
||||
|
|
Loading…
Reference in a new issue