36

GitHub - mitsuhiko/vim-jinja: Repository for Jinja support in vim.

 6 years ago
source link: https://github.com/mitsuhiko/vim-jinja
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK