aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index f5d47b5..3da413e 100644
--- a/vimrc
+++ b/vimrc
@@ -124,6 +124,9 @@
" line numbers and invisibles so that text can be selected and copied
" at the OS level.
"
+" 2014.05.14:
+" * Add commentary.vim definition for the "htmldjango" filetype
+"
" Pathogen
@@ -288,6 +291,7 @@ 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