feat(hyprlang): update parser and queries (#8224)

This commit is contained in:
Omar Valdez 2025-10-24 18:50:42 -07:00 committed by GitHub
parent f2204e58db
commit 400f38cc23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -1010,7 +1010,7 @@ return {
}, },
hyprlang = { hyprlang = {
install_info = { install_info = {
revision = 'd626ec06e4d876fc41200a30b3e6f2b4714c7367', revision = 'b23e85dded5d150ffee0ac83c01cbeb1520aad2f',
url = 'https://github.com/tree-sitter-grammars/tree-sitter-hyprlang', url = 'https://github.com/tree-sitter-grammars/tree-sitter-hyprlang',
}, },
maintainers = { '@luckasRanarison' }, maintainers = { '@luckasRanarison' },

View file

@ -18,6 +18,9 @@
(section (section
(name) @module) (name) @module)
(window_rule
(name) @function.call)
(section (section
device: (device_name) @string.special) device: (device_name) @string.special)
@ -49,6 +52,7 @@
[ [
"," ","
";"
":" ":"
"x" "x"
"@" "@"
@ -59,6 +63,8 @@
")" ")"
"{" "{"
"}" "}"
"["
"]"
] @punctuation.bracket ] @punctuation.bracket
[ [