mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -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_]+"))
|
||||
|
||||
(identifier) @variable
|
||||
(this) @variable.builtin
|
||||
;TODO
|
||||
;(this) @variable.builtin
|
||||
|
||||
; Literals
|
||||
|
||||
|
|
@ -124,7 +125,6 @@
|
|||
"class"
|
||||
"continue"
|
||||
"default"
|
||||
"do"
|
||||
"enum"
|
||||
"exports"
|
||||
"extends"
|
||||
|
|
@ -173,11 +173,13 @@
|
|||
[
|
||||
"for"
|
||||
"while"
|
||||
"do"
|
||||
] @repeat
|
||||
|
||||
; Includes
|
||||
|
||||
"import" @include
|
||||
"package" @include
|
||||
|
||||
; Punctuation
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue