diff options
| author | Omar Valdez <omarantoniovaldezf2@gmail.com> | 2025-01-18 12:57:44 -0800 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-01-19 21:07:52 +0100 |
| commit | 87b1f250980d288f37bfacae8bcafc0d843c2751 (patch) | |
| tree | 34ea2e00f2635a8d82146cfc671b39e7d9db716a | |
| parent | feat(hyprlang): bash injections for exec keybindings (diff) | |
| download | nvim-treesitter-87b1f250980d288f37bfacae8bcafc0d843c2751.tar nvim-treesitter-87b1f250980d288f37bfacae8bcafc0d843c2751.tar.gz nvim-treesitter-87b1f250980d288f37bfacae8bcafc0d843c2751.tar.bz2 nvim-treesitter-87b1f250980d288f37bfacae8bcafc0d843c2751.tar.lz nvim-treesitter-87b1f250980d288f37bfacae8bcafc0d843c2751.tar.xz nvim-treesitter-87b1f250980d288f37bfacae8bcafc0d843c2751.tar.zst nvim-treesitter-87b1f250980d288f37bfacae8bcafc0d843c2751.zip | |
feat(hyprlang): add missing highlights
| -rw-r--r-- | queries/hyprlang/highlights.scm | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/queries/hyprlang/highlights.scm b/queries/hyprlang/highlights.scm index 597edcbf4..5e3514125 100644 --- a/queries/hyprlang/highlights.scm +++ b/queries/hyprlang/highlights.scm @@ -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 [ "(" |
