]> git.phdru.name Git - dotfiles.git/commitdiff
Use full name 'formatoptions' instead of 'fo'
authorOleg Broytman <phd@phdru.name>
Mon, 16 Dec 2013 15:34:17 +0000 (19:34 +0400)
committerOleg Broytman <phd@phdru.name>
Mon, 16 Dec 2013 15:34:17 +0000 (19:34 +0400)
.vim/ftplugin/python.vim
.vim/ftplugin/text.vim

index 44ec35e0775cc24159e0afe9c385039ccf38b8bd..ac3817547d1c8498878287ee5404816080a3155a 100644 (file)
@@ -17,7 +17,7 @@ if has("iconv") && !exists('b:encoding_set')
    endif
 endif
 
    endif
 endif
 
-setlocal fo-=t fo+=croql
+setlocal formatoptions-=t formatoptions+=croql
 setlocal keywordprg=pydoc
 setlocal shiftwidth=4 softtabstop=4
 compiler python
 setlocal keywordprg=pydoc
 setlocal shiftwidth=4 softtabstop=4
 compiler python
index 059a30437420737a34fb560b57614ce673ed3c2a..bf0de133f1e26e65a95f759a51cf96c90bc26c92 100644 (file)
@@ -2,5 +2,5 @@ if &tw == 0
   setlocal tw=72
 endif
 
   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