purescript-contrib / purescript-vim

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

Perform spell-checking only in strings and comments #54

Closed rndnoise closed 6 years ago

rndnoise commented 6 years ago

Without adding contains=@Spell it seems that vim will spellcheck the entire document. I've added this parameter to comments and strings.

Before:

screen shot 2018-03-08 at 8 07 46 pm

After:

vim spellcheck purescript
coot commented 6 years ago

Thank you for the contribution.