Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mitsuhiko/vim-jinja

Repository for Jinja support in vim.
https://github.com/mitsuhiko/vim-jinja

Last synced: about 1 month ago
JSON representation

Repository for Jinja support in vim.

Awesome Lists containing this project

README

        

Jinja for Vim
-------------

Jinja for Vim. This is the updated version unlike the
one on vimscripts.

Features
--------

- Syntax highlighting
- Automatic detection of Jinja HTML templates that plays well
with Django and other HTML files.
- Indent support

Installation
------------

If you don't have a preferred installation method, I recommend installing
pathogen.vim, and then simply copy and paste:

cd ~/.vim/bundle
git clone git://github.com/mitsuhiko/vim-jinja.git

Configuration
-------------

g:htmljinja_disable_detection (Default: 0)
If set the plugin will not try to autodetect HTML files that
contain Jinja code.

g:htmljinja_disable_html_upgrade (Default: 0)
If set the plugin will not try to check on each write of an HTML
file it it should upgrade to htmljinja