Open Anders-E opened 3 years ago
Thanks. I tested this in Atom where it behaves the same, so that means the error lives in the tmLanguage
grammar. Probably here:
Not completely sure but it looks like it treats the opening paren as the start of a list and then nil
is in function position and it gets tokenized as being a function call. I think I've seen similar idiosyncrasies with what we treat as being a function call.
If you want to help fix it, please see https://github.com/BetterThanTomorrow/calva/wiki/How-to-Hack-on-Calva#updating-the-tmlanguge-grammar
It is pretty well covered with tests so once the tests for this fix runs and the other tests run it is very likely fixed properly. 😄
Thank you for the quick and detailed reply! I'll see if I can spare some time to have a look at it this weekend.
Thank you for the pointers and for making Calva, I really enjoy using it.
Might be a bit hard to see but notice how the
nil
after\(
has a different color than thenil
after\)
. Using Calva 2.0.199.