vim: Move CycleSpellLang into keys.vim

See ba3a54fc4 ("vim: Move numbertoggle autocmd into settings.vim").
This commit is contained in:
2022-08-28 15:32:42 +02:00
parent 329a6e6eca
commit 947a939f67
2 changed files with 8 additions and 8 deletions

View File

@@ -1,12 +1,4 @@
" Functions """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Toggle spell language between German and English
function! CycleSpellLang()
if (&spelllang == 'en')
set spelllang=de
else
set spelllang=en
endif
endfunction
" Check time every second to read file changes.
if (exists('+autoread') && &autoread)