summaryrefslogtreecommitdiffstats
path: root/ftplugin/htmldjango.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/htmldjango.vim')
-rw-r--r--ftplugin/htmldjango.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/ftplugin/htmldjango.vim b/ftplugin/htmldjango.vim
new file mode 100644
index 00000000..55489c0f
--- /dev/null
+++ b/ftplugin/htmldjango.vim
@@ -0,0 +1,17 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'htmldjango') == -1
+
+" Vim filetype plugin file
+" Language: Django HTML template
+" Maintainer: Dave Hodder <dmh@dmh.org.uk>
+" Last Change: 2007 Jan 25
+
+" Only use this filetype plugin when no other was loaded.
+if exists("b:did_ftplugin")
+ finish
+endif
+
+" Use HTML and Django template ftplugins.
+runtime! ftplugin/html.vim
+runtime! ftplugin/django.vim
+
+endif