Closed pokey closed 1 year ago
I think something to do with this line:
https://github.com/wenkokke/tree-sitter-talon/blob/af5d7988181edb6bc257939f6eb11df6630b95ff/grammar.js#L65
Basically the right field of match includes the space after the : in eg tags: user.foo
right
match
:
tags: user.foo
This just requires redefining implicit_string from /.*/ to some regular expressions that excludes leading and trailing spaces.
implicit_string
/.*/
Maybe /(\S|\S.+\S)/?
/(\S|\S.+\S)/
Fix the issue in 7b793a7.
I think something to do with this line:
https://github.com/wenkokke/tree-sitter-talon/blob/af5d7988181edb6bc257939f6eb11df6630b95ff/grammar.js#L65
Basically the
right
field ofmatch
includes the space after the:
in egtags: user.foo