Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: 1.0
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (27 sloc) 0.983 kB
This is a mirror of http://www.vim.org/scripts/script.php?script_id=4213
# Jinja for Vim
Jinja bundle for vim.
## Feature
1. full syntax support
2. great indent support
## Installation
### Install with [Vundle](https://github.com/gmarik/vundle)
If you are not using vundle, you really should have a try.
Edit your vimrc:
Bundle "lepture/vim-jinja"
And install it:
:so ~/.vimrc
:BundleInstall
### Install with [pathogen](https://github.com/tpope/vim-pathogen)
If you prefer tpope's pathogen, that's ok. Just clone it:
cd ~/.vim/bundle
git clone https://github.com/lepture/vim-jinja.git
## Configuration
No configuration is needed, if you are using vim 7.2+, it will detect if
a html file is a jinja template.
But if you want to ensure it works well, you can edit your vimrc:
```vim
au BufNewFile,BufRead *.html,*.htm,*.shtml,*.stm set ft=jinja
```
## Bug report
Report a bug on [GitHub Issues](https://github.com/lepture/vim-jinja/issues).
Jump to Line
Something went wrong with that request. Please try again.