Spell check does not work for comments
jeschkies opened this issue · 4 comments
jeschkies commented
Hi,
I wanted to use Vim's spell checker for my Scala code. It did not work until I changed this line in the syntax file:
syn region scalaDocComment start="/\*\*" end="\*/" contains=scalaDocTags,scalaTodo,@scalaHtml,@Spell keepend
I don't know if this is clean. However, it would be nice if the syntax file would be changed to support spell checking in the comments.
derekwyatt commented
I'd like to test this the same way you have it. Can you send a pull request?
jeschkies commented
Just came across my post again. Did you fix it or do you want me to issue a pull request?
derekwyatt commented
Pull request! :) Thanks.
derekwyatt commented
Closed thanks to @ches