

GitHub - lepture/vim-jinja: jinja plugins for vim (syntax and indent)
source link: https://github.com/lepture/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.md
Jinja for Vim
Jinja bundle for vim.
Feature
- full syntax support
- great indent support
Installation
Install with 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
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.
Recommend
-
77
Authlib The ultimate Python library in building OAuth and OpenID Connect servers. JWS, JWK, JWA, JWT are included. Authlib is compatible with Python3.6+. Sponsors If you want to quickl...
-
39
README.md Syntax based indentation for SQL files for GNU Emacs
-
13
如何向Jinja宏传递额外参数(*args和**kwargs)? 发表回复 这段时间有多个读者问关于Jinja宏定义时的参数接受问题。这一点在
-
13
May 1, 2019
-
13
Files Permalink Latest commit message Commit time
-
5
-
3
tf (TinyFugue) indent file : vim online tf.vim : tf (TinyFugue) indent file script karma Rating 5/5, Downloaded by 1701 Comments, bugs, improvemen...
-
30
Partially render in Jinja Posted by chunyang on June 7, 2022...
-
4
Primer on Jinja Te...
-
7
In this article, we will guide you step-by-step on How to generate sitemaps for SEO using Jinja templates in Python. Emphasizing the critical importance of a...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK