purescript-contrib / purescript-vim

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

Wrong highlighting after scrolling file #16

Closed oblitum closed 8 years ago

oblitum commented 8 years ago

Opening https://github.com/paf31/purescript-book/blob/master/chapter8/src/Main.purs and scrolling down twice with CTRL-d I get some strange highlighting related to strings, this behaviour doesn't seem very consistent. If then I move the cursor over the problematic lines, line by line, they get fixed.

asciicast

Reproduced both in Vim and NeoVim.

cc @arthur-xavier

arthurxavierx commented 8 years ago

Thanks for the report @oblitum. It seems I already got it fixed in the refactoring. I shall release it tomorrow or wednesday at latest. I'll add this file to the "test suite".

Thanks for the help! :)

oblitum commented 8 years ago

Looks like fixed, thanks!