mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 07:50:07 -04:00
Remove constant highlighting
This commit is contained in:
parent
6641eee7a7
commit
d562ffcab9
1 changed files with 0 additions and 7 deletions
|
|
@ -58,13 +58,6 @@
|
||||||
((sym_lit) @variable.builtin
|
((sym_lit) @variable.builtin
|
||||||
(#match? @variable.builtin "^[%]"))
|
(#match? @variable.builtin "^[%]"))
|
||||||
|
|
||||||
; Constants
|
|
||||||
;; TODO: Improve?
|
|
||||||
;; - Mark all symbols as constants?
|
|
||||||
;; - Remove, just use @variable?
|
|
||||||
((sym_lit) @constant
|
|
||||||
(#match? @constant "^[A-Z_-]+$"))
|
|
||||||
|
|
||||||
; Constructor
|
; Constructor
|
||||||
((sym_lit) @constructor
|
((sym_lit) @constructor
|
||||||
(#match? @constructor "^-\\>[^\\>].*"))
|
(#match? @constructor "^-\\>[^\\>].*"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue