From 6f28a0a224e71accda4a5d1e11f85b104025fdc2 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 14 May 2014 11:58:18 -0400 Subject: vimrc: set the comment string for htmldjango files For commentary.vim. --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vimrc') 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= + autocmd FileType htmldjango setlocal commentstring= autocmd FileType javascript setlocal commentstring=//\ %s autocmd FileType scss setlocal commentstring=//\ %s autocmd FileType python setlocal commentstring=#\ %s -- cgit v1.2.3