purescript-contrib / purescript-vim

Syntax highlighting and indentation for PureScript
BSD 2-Clause "Simplified" License
154 stars 35 forks source link

Types not highlighted correctly after splitting into multiple lines #63

Open sriharshachilakapati opened 5 years ago

sriharshachilakapati commented 5 years ago

Preview

In the above example, the part Show details is highlighted in Blue, as if it was a primitive, but not in the second case.

sriharshachilakapati commented 5 years ago

One more case is this:

image

Both Show and Validate are type classes, so should be in the same color scheme. And the where keyword isn't highlighted.