Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Spellcheck not working for multiline comments #111

Open
PhilT opened this issue Oct 12, 2019 · 1 comment
Open

Spellcheck not working for multiline comments #111

PhilT opened this issue Oct 12, 2019 · 1 comment

Comments

@PhilT
Copy link

PhilT commented Oct 12, 2019

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
Copy link
Author

PhilT commented Oct 12, 2019

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant