mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 15:00:04 -04:00
Fix #307: Use and document TSVariable/TSVariableBuiltin in all languages
This commit is contained in:
parent
50991e370b
commit
bcf421b4e7
10 changed files with 39 additions and 8 deletions
|
|
@ -1,3 +1,6 @@
|
|||
; Variables
|
||||
(identifier) @variable
|
||||
|
||||
; Keywords
|
||||
|
||||
[
|
||||
|
|
@ -100,7 +103,7 @@
|
|||
[
|
||||
(self)
|
||||
(super)
|
||||
] @constant.builtin
|
||||
] @variable.builtin
|
||||
|
||||
(method_parameters (identifier) @parameter)
|
||||
(lambda_parameters (identifier) @parameter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue