You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered:
I'm trying to enable spell checking, but for the commit message only.
I tried to
set spell
formagit
buffers and edit the syntax file to addcontains=@NoSpell
to every other element thancommitMsg
. I just cannot get it to work for element which already have something incontains=
, likegitHunk
. I tried to setcontains=@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 ?
The text was updated successfully, but these errors were encountered: