diff options
author | Teddy Wing | 2014-05-23 20:03:26 -0400 |
---|---|---|
committer | Teddy Wing | 2014-05-23 20:03:26 -0400 |
commit | 8317474a55b055832a877c1c142a30cdf51b8314 (patch) | |
tree | 158560f9a4349b1fb740e6cb499e9b7689d87a93 /vimrc | |
parent | 5be1676898597db2e9fe770560ba3694983800d1 (diff) | |
download | dotvim-8317474a55b055832a877c1c142a30cdf51b8314.tar.bz2 |
vimrc: disable default ftplugins (working)
Working version of disabled default ftplugins.
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -141,6 +141,13 @@ " default behaviours. Note that this doesn't work for some reason and " I can't figure out why or what to do. Keep searching. " +" 2014.05.23: +" * Get disabling of default ftplugins working. Turns out it shouldn't +" have been in an autocmd as recommended in +" http://vim.wikia.com/wiki/Default_filetype#Setting_a_default_filetype +" and http://marc.info/?l=vim&m=100254210012793&w=2. Instead the +" variable needed to be set directly. +" " Pathogen @@ -193,10 +200,7 @@ 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 +let b:did_ftplugin = 1 " Enable filetype-specific settings filetype plugin on |