Disable spell in diff mode

This commit is contained in:
Stefan Liebl 2024-01-30 13:02:27 +01:00
parent 87bbe609ea
commit 576fd2bafd

View File

@ -172,6 +172,9 @@ if &diff
setlocal nospell setlocal nospell
endif endif
" Switch spell off in diff mode
autocmd OptionSet diff setlocal nospell
" horizontal scrollbar in diff-mode " horizontal scrollbar in diff-mode
set diffopt=filler,vertical set diffopt=filler,vertical
" don't switch on DiffChar by default " don't switch on DiffChar by default