From 6fade3d638c635975e47221eccd03267e3d39a7f Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 16 Dec 2013 19:34:17 +0400 Subject: [PATCH] Use full name 'formatoptions' instead of 'fo' --- .vim/ftplugin/python.vim | 2 +- .vim/ftplugin/text.vim | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5