Open Popkornium18 opened 2 years ago
I cannot reproduce this anymore. Does it work for you @Popkornium18 ?
Yes, still broken for me.
Bottom one works.
Others do not.
I'm fairly certain it is treesitter producing bogus trees
the problem is the server treat the word
is word="++SOMEVAR"
,
the sent position is {'character': 4, 'line': 3}
should be correct,
so should be the keyword acknowledge obviously was wrong...
Pasting this into https://tree-sitter.github.io/tree-sitter/playground also shows a tree sitter error node, so this clearly is a grammar bug.
Syntax-highlighting is also broken unless the fourth statement is used. Not sure if this means that it is a treesitter grammar issue and not a bashls issue.
Unfortunately
shfmt
also changes((++ SOMEVAR))
to((++SOMEVAR))
.