From af3a81e5b184262691cb62dba3216971c9d3faee Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Mon, 19 Mar 2018 13:49:05 +0000 Subject: [PATCH] add jinja2 --- home/.vim/ftdetect/filetypes.vim | 1 + home/.vimrc | 1 + 2 files changed, 2 insertions(+) diff --git a/home/.vim/ftdetect/filetypes.vim b/home/.vim/ftdetect/filetypes.vim index 64238ab..d732eef 100644 --- a/home/.vim/ftdetect/filetypes.vim +++ b/home/.vim/ftdetect/filetypes.vim @@ -12,6 +12,7 @@ autocmd Filetype go setlocal ts=4 sw=4 sts=4 autocmd Filetype html setlocal ts=2 sw=2 sts=2 expandtab autocmd Filetype html.twig setlocal ts=2 sw=2 sts=2 expandtab autocmd Filetype javascript setlocal ts=2 sw=2 sts=2 expandtab +autocmd Filetype jinja setlocal ts=2 sw=2 sts=2 expandtab autocmd Filetype json setlocal ts=2 sw=2 sts=2 expandtab autocmd Filetype less setlocal ts=2 sw=2 sts=2 expandtab autocmd Filetype lua setlocal ts=4 sw=4 sts=4 expandtab diff --git a/home/.vimrc b/home/.vimrc index 68c3bd5..97afcc2 100644 --- a/home/.vimrc +++ b/home/.vimrc @@ -16,6 +16,7 @@ Plugin 'cespare/vim-toml' Plugin 'moll/vim-node' Plugin 'ElmCast/elm-vim' Plugin 'posva/vim-vue' +Plugin 'Glench/Vim-Jinja2-Syntax' "" END VUNDLE PLUGINS call vundle#end() filetype plugin indent on