sponsor Vim development Vim logo Vim Book Ad

jinja : jinja syntax and indent plugin

 script karma  Rating 14/5, Downloaded by 700  Comments, bugs, improvements  Vim wiki

created by
Hsiaoming Yang
script type
# 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

### 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:

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).
install details

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-jinja.zip 1.0 2012-09-13 7.0 Hsiaoming Yang Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.