ElmCast / elm-vim

Elm plugin for Vim
BSD 3-Clause "New" or "Revised" License
572 stars 102 forks source link

Some arguments of lambda functions are incorrectly highlighted #186

Open dtaskoff opened 5 years ago

dtaskoff commented 5 years ago

First arguments of lambda functions, starting with letters, which are part of escape sequences (n, r, t, etc.), are highlighted together with the preceding \* as an escape sequence. e.g.: (\name -> prettify name) gets highlighted as (\n*ame -> prettify name).

andys8 commented 5 years ago

I've a fork for syntax highlighting: andys8/vim-elm-syntax. There are smaller changes for lambdas and it doesn't appear for me:

image

So backporting some of the changes or using the fork could be options.

dtaskoff commented 4 years ago

I have a plugin with elm syntax, as well, but I thought that it's good to have a plugin shared across the community.