Thu, 14 Sep 2017 19:39:46 -0400
avoid abbreviated options
.vim/autoload/vimrc.vim | file | annotate | diff | comparison | revisions | |
.vimrc | file | annotate | diff | comparison | revisions |
--- a/.vim/autoload/vimrc.vim +++ b/.vim/autoload/vimrc.vim @@ -4,9 +4,9 @@ endfunc func! vimrc#AutoFmtToggle() abort if &formatoptions =~ 'a' - setl fo-=a | echo '-a' + setl formatoptions-=a | echo '-a' else - setl fo+=a | echo '+a' + setl formatoptions+=a | echo '+a' endif endfunc @@ -50,6 +50,6 @@ func! vimrc#VundleInstallAndBegin() abor echo "Installed Vundle, run :PluginInstall if desired" endif - let &rtp .= ',' . bundlepath . '/vundle' + let &runtimepath .= ',' . bundlepath . '/vundle' call vundle#begin(bundlepath) endfunc