zarchive-vim-fsharp icon indicating copy to clipboard operation
zarchive-vim-fsharp copied to clipboard

Spellcheck not working for multiline comments

Open PhilT opened this issue 5 years ago • 1 comments

I'm not sure if this is the right project, I'm just guessing multiline comments are not set correctly in the syntax file or something. Apologies if I'm barking up the wrong tree.

If I add a single line comment like so:

// somthing

Then I get a red squiggly line underneath. However if I add a multi-line comment like so:

(* somthing *)

No red squiggly line. I've tried both .fs and .fsx files.

When creating a C# file and adding multi-line comments like so:

/* somthing */ 

I correctly get a red squiggly error.

I'm using Neovim-qt on Windows 10 with the polyglot plugin but I've also tried adding the vim-fsharp plugin directly to no avail.

PhilT avatar Oct 12 '19 17:10 PhilT

It seems line 67 of the syntax file is the culprit. Adding ,@Spell to the end of the contains parameter seems to fix the problem. Should this be included in the syntax file?

PhilT avatar Oct 12 '19 18:10 PhilT