mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 01:10:02 -04: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
|
[
|
||||||
|
"let"
|
||||||
"in" @keyword
|
"in"
|
||||||
|
] @keyword
|
||||||
|
|
||||||
[
|
[
|
||||||
"{"
|
"{"
|
||||||
|
|
@ -11,8 +12,15 @@
|
||||||
|
|
||||||
"." @punctuation.delimiter
|
"." @punctuation.delimiter
|
||||||
|
|
||||||
|
[
|
||||||
|
".."
|
||||||
|
"="
|
||||||
|
] @operator
|
||||||
|
|
||||||
(input) @constant
|
(input) @constant
|
||||||
|
|
||||||
|
(null) @constant.builtin
|
||||||
|
|
||||||
(comment) @comment @spell
|
(comment) @comment @spell
|
||||||
|
|
||||||
(string) @string
|
(string) @string
|
||||||
|
|
@ -21,6 +29,9 @@
|
||||||
|
|
||||||
(float) @number.float
|
(float) @number.float
|
||||||
|
|
||||||
|
(float
|
||||||
|
"." @number.float)
|
||||||
|
|
||||||
(boolean) @boolean
|
(boolean) @boolean
|
||||||
|
|
||||||
(null) @keyword
|
(path_seg) @property
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue