Open fidgetingbits opened 11 months ago
This is an issue caused by the implicit strings.
Solving this would require parsing the values as strings, with implicits as a fallback... which is a little bit trickier.
Ultimately, this is a tree-sitter-talon
bug.
It's fairly easy to special-case this literal string. It's a lot trickier to handle the general case.
Happy to file against tree-sitter-talon if you prefer.
fwiw I already can't run talonfmt in precommit on my repo due to the parrot stuff failing checks, so this issue doesn't actually affect me too much atm. But this being regular talon syntax I suppose it is a bit more likely it could find its way into community eventually somehow.
It seems like talonfmt doesn't like the following syntax even though it's legitimate talon syntax:
If you use something like:
you can confirm that talon handles this fine