mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
fix: Remove pi_statement from highlight to sync up with upstream change
This commit is contained in:
parent
f7d4ba2ac9
commit
e81a60b692
1 changed files with 4 additions and 6 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
(block_comment) @comment
|
(block_comment) @comment
|
||||||
|
|
||||||
; Argument definition
|
; Argument definition
|
||||||
(argument name: (identifier) @parameter)
|
(argument name: (identifier) @parameter)
|
||||||
|
|
||||||
; Variables
|
; Variables
|
||||||
(local_var name: (identifier) @variable)
|
(local_var name: (identifier) @variable)
|
||||||
|
|
@ -20,11 +20,11 @@
|
||||||
name: (variable) @function)
|
name: (variable) @function)
|
||||||
|
|
||||||
; For function calls
|
; For function calls
|
||||||
(named_argument
|
(named_argument
|
||||||
name: (identifier) @property)
|
name: (identifier) @property)
|
||||||
|
|
||||||
; Methods
|
; Methods
|
||||||
(method_call
|
(method_call
|
||||||
name: (method_name) @method)
|
name: (method_name) @method)
|
||||||
|
|
||||||
; Classes
|
; Classes
|
||||||
|
|
@ -32,7 +32,6 @@
|
||||||
|
|
||||||
; Literals
|
; Literals
|
||||||
(number) @number
|
(number) @number
|
||||||
(pi_statement) @constant.builtin
|
|
||||||
(float) @float
|
(float) @float
|
||||||
|
|
||||||
(string) @string
|
(string) @string
|
||||||
|
|
@ -61,7 +60,6 @@
|
||||||
"="
|
"="
|
||||||
] @operator
|
] @operator
|
||||||
|
|
||||||
|
|
||||||
; Keywords
|
; Keywords
|
||||||
[
|
[
|
||||||
"arg"
|
"arg"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue