From 192c8b1abde862bd7469234155688afaf845a698 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Mon, 10 Mar 2025 16:14:05 -0400 Subject: [PATCH] The new filetype plugin burned me. --- vim/vimrc | 4 ++-- vim/vimrc.disablejunk | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 vim/vimrc.disablejunk diff --git a/vim/vimrc b/vim/vimrc index 19b60a4..a1b62f2 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -1,8 +1,8 @@ "ADAM David Alan Martin's updated vimrc "source ~/.vim/default.vim -let g:netrw_special_syntax=1 -set nofoldenable +source ~/.vim/vimrc.disablejunk + syntax on "The adam color scheme has both syntax colors and adam colorscheme now. diff --git a/vim/vimrc.disablejunk b/vim/vimrc.disablejunk new file mode 100644 index 0000000..8188871 --- /dev/null +++ b/vim/vimrc.disablejunk @@ -0,0 +1,18 @@ +" Here's a bunch of junk that Vim has turned on over +" the years, by default, that I've had to fight +" with configuration to get these not to load. +" +" If I ever want these back on, one day, I'll know where +" to find them. + +let g:netrw_special_syntax=1 + +set nofoldenable + +let g:did_load_ftplugin = 1 +let b:did_ftplugin = 1 +let g:did_ftplugin = 1 + +" This never seems to be respected anymore... +set noloadplugins +