mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -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)
|
(name) @module)
|
||||||
|
|
||||||
(section
|
(section
|
||||||
device: (device_name) @type)
|
device: (device_name) @string.special)
|
||||||
|
|
||||||
(variable) @variable
|
(variable) @variable
|
||||||
|
|
||||||
|
|
@ -24,7 +24,13 @@
|
||||||
|
|
||||||
(boolean) @boolean
|
(boolean) @boolean
|
||||||
|
|
||||||
(mod) @constant
|
[
|
||||||
|
"deg"
|
||||||
|
(string)
|
||||||
|
(string_literal)
|
||||||
|
] @string
|
||||||
|
|
||||||
|
(mod) @constant.builtin
|
||||||
|
|
||||||
[
|
[
|
||||||
"rgb"
|
"rgb"
|
||||||
|
|
@ -36,13 +42,14 @@
|
||||||
(legacy_hex)
|
(legacy_hex)
|
||||||
(angle)
|
(angle)
|
||||||
(hex)
|
(hex)
|
||||||
(display)
|
|
||||||
(position)
|
|
||||||
] @number
|
] @number
|
||||||
|
|
||||||
"deg" @type
|
[
|
||||||
|
","
|
||||||
"," @punctuation.delimiter
|
":"
|
||||||
|
"x"
|
||||||
|
"@"
|
||||||
|
] @punctuation.delimiter
|
||||||
|
|
||||||
[
|
[
|
||||||
"("
|
"("
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue