mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
feat(slint): highlight enum members as constants
This commit is contained in:
parent
6f54846f2b
commit
14cd8c5db1
1 changed files with 3 additions and 0 deletions
|
|
@ -47,6 +47,9 @@
|
||||||
|
|
||||||
(user_type_identifier) @type
|
(user_type_identifier) @type
|
||||||
|
|
||||||
|
(enum_block
|
||||||
|
(user_type_identifier) @constant)
|
||||||
|
|
||||||
; Functions and callbacks
|
; Functions and callbacks
|
||||||
(argument) @variable.parameter
|
(argument) @variable.parameter
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue