Fix #307: Use and document TSVariable/TSVariableBuiltin in all languages

This commit is contained in:
Stephan Seitz 2020-09-12 20:57:01 +02:00 committed by Thomas Vigouroux
parent 50991e370b
commit bcf421b4e7
10 changed files with 39 additions and 8 deletions

View file

@ -1,7 +1,10 @@
; CREDITS @maxbrunsfeld (maxbrunsfeld@gmail.com)
; Methods
; Variables
(identifier) @variable
; Methods
(method_declaration
name: (identifier) @method)
@ -105,7 +108,7 @@
((identifier) @constant
(#vim-match? @constant "^_*[A-Z][A-Z\d_]+"))
(this) @constant.builtin
(this) @variable.builtin
; Literals