django.vim : Syntax highlighting for Django templates
script karma |
Rating 736/267,
Downloaded by 15387 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Dave Hodder |
|
script type |
syntax |
|
description |
Type ":setfiletype htmldjango" from within Vim to select highlighting for Django HTML templates. If you desire Django template highlighting but not HTML highlighting, type ":setfiletype django" instead. Items highlighted include template tags, built-in filters, arguments and comments.
(N.B. For Vim 7.1 and later you shouldn't need the additional htmldjango.vim file.) |
|
install details |
Save the files django.vim and htmldjango.vim to your ~/.vim/syntax directory. |
|
script versions (upload new version)
Click on the package to download.
django.vim |
1.08 |
2012-04-07 |
6.0 |
Dave Hodder |
Highlights the elif tag and truncatechars filter, both from Django 1.4. Thanks to iynaix (Lin Xianyi). |
django.vim |
0.1 |
2009-01-12 |
6.0 |
Dave Hodder |
matchit plug-in (extended "%" matching) for common Django template tags. Copy to your ~/.vim/ftplugin directory. Thanks to Michael Brown. |
htmldjango.vim |
1.05 |
2007-01-28 |
6.0 |
Dave Hodder |
Improved error highlighting. |
ip used for rating: 3.147.59.186
|