From: Oleg Broytman Date: Mon, 16 Dec 2013 15:34:17 +0000 (+0400) Subject: Use full name 'formatoptions' instead of 'fo' X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=6fade3d638c635975e47221eccd03267e3d39a7f Use full name 'formatoptions' instead of 'fo' --- diff --git a/.vim/ftplugin/python.vim b/.vim/ftplugin/python.vim index 44ec35e..ac38175 100644 --- a/.vim/ftplugin/python.vim +++ b/.vim/ftplugin/python.vim @@ -17,7 +17,7 @@ if has("iconv") && !exists('b:encoding_set') endif endif -setlocal fo-=t fo+=croql +setlocal formatoptions-=t formatoptions+=croql setlocal keywordprg=pydoc setlocal shiftwidth=4 softtabstop=4 compiler python diff --git a/.vim/ftplugin/text.vim b/.vim/ftplugin/text.vim index 059a304..bf0de13 100644 --- a/.vim/ftplugin/text.vim +++ b/.vim/ftplugin/text.vim @@ -2,5 +2,5 @@ if &tw == 0 setlocal tw=72 endif -" Set 'formatoptions' to break text lines and keep the comment leader ">". -setlocal fo+=tcql +" Break text lines and keep the comment leader ">". +setlocal formatoptions+=tcql