mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
Make =,~,! operators in C highlights
This commit is contained in:
parent
1badceea81
commit
148ad160e8
2 changed files with 10 additions and 5 deletions
|
|
@ -35,14 +35,20 @@
|
||||||
"->" @operator
|
"->" @operator
|
||||||
"!=" @operator
|
"!=" @operator
|
||||||
"*" @operator
|
"*" @operator
|
||||||
|
"/" @operator
|
||||||
"&" @operator
|
"&" @operator
|
||||||
"&&" @operator
|
"&&" @operator
|
||||||
"+" @operator
|
"+" @operator
|
||||||
"++" @operator
|
"++" @operator
|
||||||
"+=" @operator
|
"+=" @operator
|
||||||
"<" @operator
|
"<" @operator
|
||||||
|
"<=" @operator
|
||||||
"==" @operator
|
"==" @operator
|
||||||
|
"=" @operator
|
||||||
|
"~" @operator
|
||||||
">" @operator
|
">" @operator
|
||||||
|
">=" @operator
|
||||||
|
"!" @operator
|
||||||
"||" @operator
|
"||" @operator
|
||||||
|
|
||||||
"." @delimiter
|
"." @delimiter
|
||||||
|
|
@ -79,4 +85,8 @@
|
||||||
|
|
||||||
(comment) @comment
|
(comment) @comment
|
||||||
|
|
||||||
|
;; Parameters
|
||||||
|
(parameter_list
|
||||||
|
(parameter_declaration) @parameter)
|
||||||
|
|
||||||
(ERROR) @error
|
(ERROR) @error
|
||||||
|
|
|
||||||
|
|
@ -62,11 +62,6 @@
|
||||||
|
|
||||||
(auto) @keyword
|
(auto) @keyword
|
||||||
|
|
||||||
;; Parameters
|
|
||||||
; normals
|
|
||||||
(parameter_list
|
|
||||||
(parameter_declaration) @parameter)
|
|
||||||
|
|
||||||
; Constants
|
; Constants
|
||||||
|
|
||||||
;(this) @constant.builtin
|
;(this) @constant.builtin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue