aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2014-05-14 11:58:18 -0400
committerTeddy Wing2014-05-14 11:58:18 -0400
commit6f28a0a224e71accda4a5d1e11f85b104025fdc2 (patch)
tree4515c617b93b5356c7a3f702f517e94540079391
parent87a9cad539139ae52cf38752ef6537fec8f0f157 (diff)
downloaddotvim-6f28a0a224e71accda4a5d1e11f85b104025fdc2.tar.bz2
vimrc: set the comment string for htmldjango files
For commentary.vim.
-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