mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
remove conventions-driven highlighting
this also removes any #match? usage
This commit is contained in:
parent
1a28e72cb8
commit
b5b99769a5
1 changed files with 0 additions and 12 deletions
|
|
@ -32,21 +32,9 @@
|
|||
(method
|
||||
(identifier) @function)
|
||||
|
||||
((method
|
||||
(identifier) @constructor)
|
||||
(#match? @constructor "^[A-Z]"))
|
||||
|
||||
(member
|
||||
(identifier) @variable.member)
|
||||
|
||||
((member
|
||||
(identifier) @constant)
|
||||
(#match? @constant "^[A-Z_][A-Z0-9_]+$"))
|
||||
|
||||
((member
|
||||
(identifier) @type)
|
||||
(#match? @type "^[A-Z].*[a-z]"))
|
||||
|
||||
[
|
||||
(string_literal)
|
||||
(indexword)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue