Vim-Jinja2-Syntax icon indicating copy to clipboard operation
Vim-Jinja2-Syntax copied to clipboard

installation instructions

Open atsalolikhin-spokeo opened this issue 4 years ago • 4 comments

Could you please provide instructions for installing and activating this plug-in?

atsalolikhin-spokeo avatar Sep 18 '20 22:09 atsalolikhin-spokeo

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)

silvigon avatar Nov 11 '20 20:11 silvigon

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

atsalolikhin-spokeo avatar Nov 11 '20 22:11 atsalolikhin-spokeo

Install under plug?

lesar avatar Jan 16 '22 11:01 lesar

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.

joekrall avatar Feb 09 '23 04:02 joekrall