mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
Changes suggested in PR
https://github.com/nvim-treesitter/nvim-treesitter/pull/93#pullrequestreview-435630553
This commit is contained in:
parent
665b30cbf8
commit
577141bc34
1 changed files with 4 additions and 2 deletions
|
|
@ -88,7 +88,8 @@
|
||||||
(#match? @constant "^_*[A-Z][A-Z\d_]+"))
|
(#match? @constant "^_*[A-Z][A-Z\d_]+"))
|
||||||
|
|
||||||
(identifier) @variable
|
(identifier) @variable
|
||||||
(this) @variable.builtin
|
;TODO
|
||||||
|
;(this) @variable.builtin
|
||||||
|
|
||||||
; Literals
|
; Literals
|
||||||
|
|
||||||
|
|
@ -124,7 +125,6 @@
|
||||||
"class"
|
"class"
|
||||||
"continue"
|
"continue"
|
||||||
"default"
|
"default"
|
||||||
"do"
|
|
||||||
"enum"
|
"enum"
|
||||||
"exports"
|
"exports"
|
||||||
"extends"
|
"extends"
|
||||||
|
|
@ -173,11 +173,13 @@
|
||||||
[
|
[
|
||||||
"for"
|
"for"
|
||||||
"while"
|
"while"
|
||||||
|
"do"
|
||||||
] @repeat
|
] @repeat
|
||||||
|
|
||||||
; Includes
|
; Includes
|
||||||
|
|
||||||
"import" @include
|
"import" @include
|
||||||
|
"package" @include
|
||||||
|
|
||||||
; Punctuation
|
; Punctuation
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue