mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(hyprlang): add missing highlights
This commit is contained in:
parent
645d14f40f
commit
87b1f25098
1 changed files with 14 additions and 7 deletions
|
|
@ -16,7 +16,7 @@
|
|||
(name) @module)
|
||||
|
||||
(section
|
||||
device: (device_name) @type)
|
||||
device: (device_name) @string.special)
|
||||
|
||||
(variable) @variable
|
||||
|
||||
|
|
@ -24,7 +24,13 @@
|
|||
|
||||
(boolean) @boolean
|
||||
|
||||
(mod) @constant
|
||||
[
|
||||
"deg"
|
||||
(string)
|
||||
(string_literal)
|
||||
] @string
|
||||
|
||||
(mod) @constant.builtin
|
||||
|
||||
[
|
||||
"rgb"
|
||||
|
|
@ -36,13 +42,14 @@
|
|||
(legacy_hex)
|
||||
(angle)
|
||||
(hex)
|
||||
(display)
|
||||
(position)
|
||||
] @number
|
||||
|
||||
"deg" @type
|
||||
|
||||
"," @punctuation.delimiter
|
||||
[
|
||||
","
|
||||
":"
|
||||
"x"
|
||||
"@"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"("
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue