Vim-Jinja2-Syntax
Vim-Jinja2-Syntax copied to clipboard
installation instructions
Could you please provide instructions for installing and activating this plug-in?
Perhaps a bit late to this, but since this is still open:
If you use vundle, adding Plugin 'glench/vim-jinja2-syntax'
to your .vimrc like any other plugin seems to work fine (at least it did for me)
Thanks! I don't use Vundle and I don't remember how I installed it but I seem to have syntax highlighting for jinja2 files.
Here is where I put the files:
~/.vim/pack/vendor/start/Vim-Jinja2-Syntax/indent/jinja.vim
~/.vim/pack/vendor/start/Vim-Jinja2-Syntax/ftplugin/jinja.vim
~/.vim/pack/vendor/start/Vim-Jinja2-Syntax/ftdetect/jinja.vim
~/.vim/pack/vendor/start/Vim-Jinja2-Syntax/syntax/jinja.vim
Install under plug?
If anyone is using packer
, all it took was adding glench/vim-jinja2-syntax
to my config and then running
$ nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
per the packer docs.