commit 24beff3821702e08505231558a23e99ba9dc0c6f
parent 1db8f733bbd49e47165e3e7e5c8c638929a9eb0c
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sat, 25 Apr 2020 00:05:09 +0200
vim: auto-limelight in goyo
Former-commit-id: 24c514f18936fdcaa0f635430d1ebce670dc73aa
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/vim/autoload/goyo_custom.vim b/vim/autoload/goyo_custom.vim
@@ -17,10 +17,12 @@ function! goyo_custom#goyo_enter()
call goyo_custom#modify_hlgroups()
setlocal ruler
autocmd BufEnter,BufReadPost,BufWritePost,TextChanged,TextChangedI * call goyo_custom#update_ruler()
+ Limelight
endfunction
function! goyo_custom#goyo_leave()
setlocal textwidth< wrapmargin< linebreak< wrap< rulerformat< ruler< spell<
autocmd! BufEnter,BufReadPost,BufWritePost,TextChanged,TextChangedI
execute "colorscheme ".g:colors_name
unlet g:goyo_wordcount
+ Limelight!
endfunction