mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
highlights(kotlin): use more specific groups
This commit is contained in:
parent
ae51bc0638
commit
a16499f584
1 changed files with 5 additions and 2 deletions
|
|
@ -47,6 +47,9 @@
|
|||
|
||||
(type_identifier) @type
|
||||
|
||||
(type_alias
|
||||
(type_identifier) @type.definition)
|
||||
|
||||
((type_identifier) @type.builtin
|
||||
(#any-of? @type.builtin
|
||||
"Byte"
|
||||
|
|
@ -98,7 +101,7 @@
|
|||
(identifier
|
||||
(simple_identifier) @type @_import)
|
||||
(import_alias
|
||||
(type_identifier) @type)?
|
||||
(type_identifier) @type.definition)?
|
||||
(#lua-match? @_import "^[A-Z]"))
|
||||
|
||||
(import_header
|
||||
|
|
@ -285,7 +288,7 @@
|
|||
(visibility_modifier)
|
||||
(reification_modifier)
|
||||
(inheritance_modifier)
|
||||
]@keyword
|
||||
] @type.qualifier
|
||||
|
||||
[
|
||||
"val"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue