diff --git a/filetype.vim b/filetype.vim index 37126aa..48388df 100644 --- a/filetype.vim +++ b/filetype.vim @@ -1,4 +1,5 @@ -augroup filetypedetect +augroup djangoplusfiletypedetect " Since templates can be anything, check any file. + autocmd! autocmd BufRead,BufNewFile * call djangoplus#detect#filetype(expand(':p')) augroup END