Closed bravoecho closed 1 year ago
Hey, thanks for the report! Ill look into it over the weekend
Great find, template expressions were a bit messed up, there were other bugs too with empty if/else or for directives; i added a few tests and fixed precedences; it should work in the next release!
I think it closed automatically.
After updating nvim-treesitter
it works for me now:
Can i close the issue?
Oh my, thank you so much, that was awesome, it's perfect now! I can't tell you how important it was to me, thanks again!
Description Starting from a valid Terraform file containing heredocs that have parentheses inside blocks:
To Reproduce Steps to reproduce the behavior:
In the example file,
tpl5
, add parentheses around the string"foo"
, everything works normally.In
tpl6
, add parentheses around or after the nestedif
block, the highlight will break.Expected behavior Parentheses around and after nested blocks in a heredoc are valid and correctly highlighted.
Additional information Also verified with nested
for
loops.