summaryrefslogtreecommitdiffstats
path: root/indent
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-12-06 11:39:05 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2015-12-06 11:39:05 +0100
commit0dc7696c89516332ae577e40c898f8a1d1afb71d (patch)
treecb3c524c57f7b7b8661d22fb65e618d6e6286f37 /indent
parent5658b62b7afb7d4855e2634d8d067cbdf1d332c9 (diff)
downloadvim-polyglot-0dc7696c89516332ae577e40c898f8a1d1afb71d.tar.gz
vim-polyglot-0dc7696c89516332ae577e40c898f8a1d1afb71d.zip
Add jinja language support, closes #92
Diffstat (limited to 'indent')
-rw-r--r--indent/jinja.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/indent/jinja.vim b/indent/jinja.vim
new file mode 100644
index 00000000..8b717a30
--- /dev/null
+++ b/indent/jinja.vim
@@ -0,0 +1,16 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jinja') == -1
+
+" Vim indent file
+" Language: Jinja HTML template
+" Maintainer: Evan Hammer <evan@evanhammer.com>
+" Last Change: 2013 Jan 26
+
+" Only load this indent file when no other was loaded.
+if exists("b:did_indent")
+ finish
+endif
+
+" Use HTML formatting rules.
+runtime! indent/html.vim
+
+endif