diff options
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 2 | ||||
| -rw-r--r-- | runtime/queries/hyprlang/highlights.scm | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 62217fc33..3a45f1e1f 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -1010,7 +1010,7 @@ return { }, hyprlang = { install_info = { - revision = 'd626ec06e4d876fc41200a30b3e6f2b4714c7367', + revision = 'b23e85dded5d150ffee0ac83c01cbeb1520aad2f', url = 'https://github.com/tree-sitter-grammars/tree-sitter-hyprlang', }, maintainers = { '@luckasRanarison' }, diff --git a/runtime/queries/hyprlang/highlights.scm b/runtime/queries/hyprlang/highlights.scm index 340237fcc..97aca45e2 100644 --- a/runtime/queries/hyprlang/highlights.scm +++ b/runtime/queries/hyprlang/highlights.scm @@ -18,6 +18,9 @@ (section (name) @module) +(window_rule + (name) @function.call) + (section device: (device_name) @string.special) @@ -49,6 +52,7 @@ [ "," + ";" ":" "x" "@" @@ -59,6 +63,8 @@ ")" "{" "}" + "[" + "]" ] @punctuation.bracket [ |
