diff options
| author | Teddy Wing | 2014-05-23 19:58:27 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2014-05-23 19:58:27 -0400 | 
| commit | 5be1676898597db2e9fe770560ba3694983800d1 (patch) | |
| tree | 528c5e57e7e2b23d1eebd44caef50ba793460dfb | |
| parent | 46ee5b036077dbe33b495efd8fb5a32959f650fa (diff) | |
| download | dotvim-5be1676898597db2e9fe770560ba3694983800d1.tar.bz2 | |
vimrc: disable default ftplugins
Only run my ftplugins, not the ones that vim provides.
NOTE: this doesn't work. Figure out why.
| -rw-r--r-- | vimrc | 9 | 
1 files changed, 9 insertions, 0 deletions
| @@ -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 | 
