Skip to content

Commit 42df9e7

Browse files
committed
American spelling correction
1 parent e6dfd96 commit 42df9e7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.vimrc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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
331331
endfun
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
339339
fun! SetDiffColors()

0 commit comments

Comments
 (0)