Skip to content

Commit 5863e05

Browse files
authored
fix: remove "else if" node from query (#19)
this node type was removed in https://github.com/ngalaiko/tree-sitter-go-template fixes #18 For now this will break the support for else if for people not using the latest (main) version of nvim-treesitter
1 parent 142777b commit 5863e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/helm-ls/queries.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ M.action_parts = [[
66
("with" @start)
77
("define" @start)
88
("block" @start)
9-
(["else" "else if"] @middle)
9+
("else" @middle)
1010
("end" @end)
1111
]]
1212

0 commit comments

Comments
 (0)