File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -325,15 +325,15 @@ endif
325325
326326" Reset spelling colours when reading a new buffer
327327" This works around an issue where the colorscheme is changed by .local.vimrc
328- fun ! SetSpellingColours ()
328+ fun ! SetSpellingColors ()
329329 highlight SpellBad cterm= bold ctermfg= white ctermbg= red
330330 highlight SpellCap cterm= bold ctermfg= red ctermbg= white
331331endfun
332- autocmd BufWinEnter * call SetSpellingColours ()
333- autocmd BufNewFile * call SetSpellingColours ()
334- autocmd BufRead * call SetSpellingColours ()
335- autocmd InsertEnter * call SetSpellingColours ()
336- autocmd InsertLeave * call SetSpellingColours ()
332+ autocmd BufWinEnter * call SetSpellingColors ()
333+ autocmd BufNewFile * call SetSpellingColors ()
334+ autocmd BufRead * call SetSpellingColors ()
335+ autocmd InsertEnter * call SetSpellingColors ()
336+ autocmd InsertLeave * call SetSpellingColors ()
337337
338338" Change colourscheme when diffing
339339fun ! SetDiffColors ()
You can’t perform that action at this time.
0 commit comments