Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable spell check for git message #184

Open
iv-nn opened this issue Jan 27, 2020 · 0 comments
Open

enable spell check for git message #184

iv-nn opened this issue Jan 27, 2020 · 0 comments

Comments

@iv-nn
Copy link

iv-nn commented Jan 27, 2020

I'm trying to enable spell checking, but for the commit message only.

I tried to set spell for magit buffers and edit the syntax file to add contains=@NoSpell to every other element than commitMsg. I just cannot get it to work for element which already have something in contains=, like gitHunk. I tried to set contains=@diff,@NoSpell but it doesn't work. My understanding is that with this settings it can either contain a @diff element or a @NoSpell element but that doesn't prevent @diff from doing spell checking.

This is where I'm stuck. Do you know if and how this could be achieved ? Also, if it works, would you consider a PR adding this directly to vimagit ?

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

No branches or pull requests

1 participant