aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc9
1 files changed, 9 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 6b69099..a08a6e1 100644
--- a/vimrc
+++ b/vimrc
@@ -137,6 +137,9 @@
" * Move JSON filetype detection from vimrc to ftdetect/json.vim. Now
" that I know that such things exist, it's nice to keep things
" organised.
+" * Add autocmd to disable default ftplugins. Don't like a lot of the
+" default behaviours. Note that this doesn't work for some reason and
+" I can't figure out why or what to do. Keep searching.
"
@@ -189,6 +192,12 @@ set backupdir=~/.vim/backup/backup//
set directory=~/.vim/backup/swap//
set undodir=~/.vim/backup/undo//
+" Disable all default ftplugins
+augroup disable_default_ftplugins
+ autocmd!
+ autocmd BufEnter * let b:did_ftplugin = 1
+augroup END
+
" Enable filetype-specific settings
filetype plugin on