Skip to content

Conversation

@scy
Copy link

@scy scy commented May 31, 2025

This will also disable spell checking for all other syntax items, like directive names and strings, which is probably the right thing to do.

Before, with spell checking enabled, things like srv and www would be marked as errors, and directives following a comment that ended with a full stop would be marked as grammar mistakes (since Vim expects you to start with a capital letter after ending a sentence). This is how it looked:

image

This PR fixes the behavior by designating comments as the only part of the file that should be spell checked. See :h spell-syntax for details.

This will also disable spell checking for all other syntax items, like
directive names and strings, which is probably the right thing to do.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant