diff options
author | Teddy Wing | 2014-06-29 17:21:26 -0400 |
---|---|---|
committer | Teddy Wing | 2014-06-29 17:21:26 -0400 |
commit | 731619c3eaa2162e0a6b8113355317e5115b89b6 (patch) | |
tree | ae9b6f3df48a699f1f250321965749414dd2a643 /vimrc | |
parent | dad210c21939a62e2333b84d817834c9593239ab (diff) | |
download | dotvim-731619c3eaa2162e0a6b8113355317e5115b89b6.tar.bz2 |
vimrc: remove commentary.vim autocmds
These are no longer required now that I've switched to tcomment.
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -235,6 +235,9 @@ " 2014.06.29: " * Remove TabBar plugin. I wasn't using it and it's been disabled for a " while, so completely removing it. Delete mappings created for TabBar. +" * Remove commentary.vim autocmds. After switching to tcomment these are +" no longer necessary. All the languages I was targeting are have +" built-in support with tcomment. " @@ -384,18 +387,6 @@ let NERDTreeWinSize = 24 nnoremap <leader>f :NERDTreeToggle<cr> -" commentary.vim -augroup commentaryvim - autocmd! - autocmd FileType ruby setlocal commentstring=#\ %s - autocmd FileType html setlocal commentstring=<!--\ %s\ --> - autocmd FileType htmldjango setlocal commentstring=<!--\ %s\ --> - autocmd FileType javascript setlocal commentstring=//\ %s - autocmd FileType scss setlocal commentstring=//\ %s - autocmd FileType python setlocal commentstring=#\ %s -augroup END - - " PreserveNoEOL let g:PreserveNoEOL = 1 |