Skip to content

Commit

Permalink
Merge pull request tpope#64 from blueyed/add-htmldjango
Browse files Browse the repository at this point in the history
Add support for ft=htmldjango
  • Loading branch information
tpope committed May 28, 2015
2 parents bba43b8 + 173b2f1 commit c72da70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin/endwise.vim
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ augroup endwise " {{{1
\ let b:endwise_addition = 'end' |
\ let b:endwise_words = 'function,if,for' |
\ let b:endwise_syngroups = 'matlabStatement,matlabFunction,matlabConditional,matlabRepeat'
autocmd FileType htmldjango
\ let b:endwise_addition = '{% end& %}' |
\ let b:endwise_words = 'autoescape,block\(\s\+\S*\)\?,blocktrans,cache,comment,filter,for,if,ifchanged,ifequal,ifnotequal,language,spaceless,verbatim,with' |
\ let b:endwise_syngroups = 'djangoTagBlock,djangoStatement'
autocmd FileType * call s:abbrev()
augroup END " }}}1

Expand Down

0 comments on commit c72da70

Please sign in to comment.