commit 88a0584cf29dfa18d9e5b04febdea8eb8f40ed39
parent 3211eff52e2421113bcc04d4c286ad1822e01872
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 27 Jan 2020 23:57:58 +0100
vim: set spell in goyo
Former-commit-id: d0c695ea1419bd61e191aa082f7da91e32dba997
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vim/autoload/goyo_custom.vim b/vim/autoload/goyo_custom.vim
@@ -13,13 +13,13 @@ function! goyo_custom#modify_hlgroups()
endfunction
function! goyo_custom#goyo_enter()
call goyo_custom#update_ruler()
- setlocal textwidth=0 wrapmargin=5 wrap
+ setlocal textwidth=0 wrapmargin=5 wrap spell
call goyo_custom#modify_hlgroups()
setlocal ruler
autocmd BufEnter,BufReadPost,BufWritePost,TextChanged,TextChangedI * call goyo_custom#update_ruler()
endfunction
function! goyo_custom#goyo_leave()
- setlocal textwidth< wrapmargin< wrap< rulerformat< ruler<
+ setlocal textwidth< wrapmargin< wrap< rulerformat< ruler< spell<
autocmd! BufEnter,BufReadPost,BufWritePost,TextChanged,TextChangedI
execute "colorscheme ".g:colors_name
unlet g:goyo_wordcount