From 400f38cc23d89e1d8e77b11bccf830dfc74ec5fb Mon Sep 17 00:00:00 2001 From: Omar Valdez Date: Fri, 24 Oct 2025 18:50:42 -0700 Subject: feat(hyprlang): update parser and queries (#8224) --- lua/nvim-treesitter/parsers.lua | 2 +- runtime/queries/hyprlang/highlights.scm | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 [ -- cgit v1.2.3-70-g09d2