aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc15
1 files changed, 3 insertions, 12 deletions
diff --git a/vimrc b/vimrc
index 522d8a7..319eae6 100644
--- a/vimrc
+++ b/vimrc
@@ -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