mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
|
||||
"." @delimiter
|
||||
|
|
@ -79,4 +85,8 @@
|
|||
|
||||
(comment) @comment
|
||||
|
||||
;; Parameters
|
||||
(parameter_list
|
||||
(parameter_declaration) @parameter)
|
||||
|
||||
(ERROR) @error
|
||||
|
|
|
|||
|
|
@ -62,11 +62,6 @@
|
|||
|
||||
(auto) @keyword
|
||||
|
||||
;; Parameters
|
||||
; normals
|
||||
(parameter_list
|
||||
(parameter_declaration) @parameter)
|
||||
|
||||
; Constants
|
||||
|
||||
;(this) @constant.builtin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue