mirror of
https://github.com/lepture/vim-jinja.git
synced 2025-11-08 11:23:50 -05:00
Fixed nunjucks file type detection (#12)
This commit is contained in:
committed by
Hsiaoming Yang
parent
0bcc2993ef
commit
8d330a7aaf
@@ -10,5 +10,5 @@ fun! s:SelectHTML()
|
||||
let n = n + 1
|
||||
endwhile
|
||||
endfun
|
||||
autocmd BufNewFile,BufRead *.html,*.htm,*.nunjucks,*.nunjs,*.njk call s:SelectHTML()
|
||||
autocmd BufNewFile,BufRead *.jinja2,*.j2,*.jinja set ft=jinja
|
||||
autocmd BufNewFile,BufRead *.html,*.htm call s:SelectHTML()
|
||||
autocmd BufNewFile,BufRead *.jinja2,*.j2,*.jinja,*.nunjucks,*.nunjs,*.njk set ft=jinja
|
||||
|
||||
Reference in New Issue
Block a user