diff options
| author | Omar Valdez <omarantoniovaldezf2@gmail.com> | 2025-10-24 18:50:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-24 18:50:42 -0700 |
| commit | 400f38cc23d89e1d8e77b11bccf830dfc74ec5fb (patch) | |
| tree | a2a1182445a19478af0a32ea85a9b7e1e56e0334 | |
| parent | fix: use proper `; inherits` syntax in queries (#8226) (diff) | |
| download | nvim-treesitter-400f38cc23d89e1d8e77b11bccf830dfc74ec5fb.tar nvim-treesitter-400f38cc23d89e1d8e77b11bccf830dfc74ec5fb.tar.gz nvim-treesitter-400f38cc23d89e1d8e77b11bccf830dfc74ec5fb.tar.bz2 nvim-treesitter-400f38cc23d89e1d8e77b11bccf830dfc74ec5fb.tar.lz nvim-treesitter-400f38cc23d89e1d8e77b11bccf830dfc74ec5fb.tar.xz nvim-treesitter-400f38cc23d89e1d8e77b11bccf830dfc74ec5fb.tar.zst nvim-treesitter-400f38cc23d89e1d8e77b11bccf830dfc74ec5fb.zip | |
feat(hyprlang): update parser and queries (#8224)
| -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 [ |
