Skip to content

Commit

Permalink
American spelling correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist committed Oct 24, 2014
1 parent e6dfd96 commit 42df9e7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -325,15 +325,15 @@ endif

" Reset spelling colours when reading a new buffer
" This works around an issue where the colorscheme is changed by .local.vimrc
fun! SetSpellingColours()
fun! SetSpellingColors()
highlight SpellBad cterm=bold ctermfg=white ctermbg=red
highlight SpellCap cterm=bold ctermfg=red ctermbg=white
endfun
autocmd BufWinEnter * call SetSpellingColours()
autocmd BufNewFile * call SetSpellingColours()
autocmd BufRead * call SetSpellingColours()
autocmd InsertEnter * call SetSpellingColours()
autocmd InsertLeave * call SetSpellingColours()
autocmd BufWinEnter * call SetSpellingColors()
autocmd BufNewFile * call SetSpellingColors()
autocmd BufRead * call SetSpellingColors()
autocmd InsertEnter * call SetSpellingColors()
autocmd InsertLeave * call SetSpellingColors()

" Change colourscheme when diffing
fun! SetDiffColors()
Expand Down

0 comments on commit 42df9e7

Please # to comment.