commit e7162fca778e9b6e040fd8d8941c0c91ee82df47
parent a2012852014d3a824c21446dca653b43d4590a3f
Author: Chris Bracken <chris@bracken.jp>
Date: Mon, 9 Oct 2023 11:24:22 -0700
Eliminate filetype wrangling
Vundle required the user to turn filetype off before loading plugins,
then back on again (if desired) after loading plugins, but vim-plug does
this automatically. This removes the extraneous calls.
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/.vim/vimrc b/.vim/vimrc
@@ -6,7 +6,6 @@ if has("autocmd")
autocmd!
endif
-filetype off
call plug#begin('~/.vim/plugged')
Plug 'rhysd/vim-clang-format' " clang-format.
Plug 'vim-scripts/spacehi.vim' " Highlight bad whitespace.
@@ -21,7 +20,6 @@ Plug 'keith/swift.vim'
Plug 'rust-lang/rust.vim'
Plug 'https://gn.googlesource.com/gn', { 'rtp': 'misc/vim' }
call plug#end()
-filetype plugin indent on
" Bind fancier manpage plugin to Shift-k.
runtime ftplugin/man.vim