Vim-Jinja2-Syntax
An up-to-date jinja2 syntax file. (by Glench)
jinja.vim
Filetype detection an syntax support for Jinja templates. (by HiPhish)
Vim-Jinja2-Syntax | jinja.vim | |
---|---|---|
3 | 1 | |
340 | 17 | |
- | - | |
10.0 | 10.0 | |
almost 3 years ago | almost 4 years ago | |
Vim Script | Vim Script | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Vim-Jinja2-Syntax
Posts with mentions or reviews of Vim-Jinja2-Syntax.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-23.
-
Any treesitter plugin for jinja2?
this is a WIP treesitter syntax for Jinja2. This is a plugin for regex based highlight for Jinja2 and this plugin uses dotted filetypes to embed Jinja syntax
- Nunjucks or other templating syntax
-
Anyone having correct Twig highlights with lua-filetype ?
Yeah sort of! I'm using a jinja syntax file and force twig files to use it. The highlights suits me for my needs. Here is how I did it, at the root of my nvim config, I put theses two files - syntax/jinja.vim download it from here https://github.com/Glench/Vim-Jinja2-Syntax/blob/master/syntax/jinja.vim - after/syntax/twig.lua vim.opt_local.syntax = "jinja" And to comment in twig I added another one here - after/plugin/twig.lua vim.opt_local.commentstring = "{#%s#}"
jinja.vim
Posts with mentions or reviews of jinja.vim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-23.
-
Any treesitter plugin for jinja2?
this is a WIP treesitter syntax for Jinja2. This is a plugin for regex based highlight for Jinja2 and this plugin uses dotted filetypes to embed Jinja syntax
What are some alternatives?
When comparing Vim-Jinja2-Syntax and jinja.vim you can also consider the following projects:
tree-sitter-jinja2 - Tree-sitter grammar for Jinja2
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config