tree-sitter-julia icon indicating copy to clipboard operation
tree-sitter-julia copied to clipboard

implicit multiplication and string macro

Open MarkusLohmayer opened this issue 2 years ago • 0 comments

The combination of implicit multiplication and string macros seems to cause problems. For example, the Unitful.jl package makes use of this heavily:

3u"kg"

means 3 kg, since the u_str macro returns a unit.

I am using Neovim with nvim-treesitter and I get broken syntax highlighting after 3u"kg" whereas 3 * u"kg" is not breaking anything.

MarkusLohmayer avatar Jun 09 '22 13:06 MarkusLohmayer