feat(gotmpl,helm)!: update parser and queries

This commit is contained in:
Christian Clason 2025-08-25 19:09:38 +02:00 committed by Christian Clason
parent 35a124cb60
commit 37cec5ec59
2 changed files with 10 additions and 3 deletions

View file

@ -811,7 +811,7 @@ return {
}, },
gotmpl = { gotmpl = {
install_info = { install_info = {
revision = '5f19a36bb1eebb30454e277b222b278ceafed0dd', revision = '65f4f86c3aaa9dabab36e3482584e8a111cf7db1',
url = 'https://github.com/ngalaiko/tree-sitter-go-template', url = 'https://github.com/ngalaiko/tree-sitter-go-template',
}, },
maintainers = { '@qvalentin' }, maintainers = { '@qvalentin' },
@ -923,7 +923,7 @@ return {
helm = { helm = {
install_info = { install_info = {
location = 'dialects/helm', location = 'dialects/helm',
revision = '5f19a36bb1eebb30454e277b222b278ceafed0dd', revision = '65f4f86c3aaa9dabab36e3482584e8a111cf7db1',
url = 'https://github.com/ngalaiko/tree-sitter-go-template', url = 'https://github.com/ngalaiko/tree-sitter-go-template',
}, },
maintainers = { '@qvalentin' }, maintainers = { '@qvalentin' },

View file

@ -59,7 +59,6 @@
[ [
"if" "if"
"else" "else"
"else if"
"end" "end"
] @keyword.conditional ] @keyword.conditional
(#set! priority 110)) (#set! priority 110))
@ -98,6 +97,14 @@
] @keyword.conditional ] @keyword.conditional
(#set! priority 110)) (#set! priority 110))
(continue_action
"continue" @keyword.repeat
(#set! priority 110))
(break_action
"break" @keyword.repeat
(#set! priority 110))
; Literals ; Literals
([ ([
(interpreted_string_literal) (interpreted_string_literal)