Skip to content

Commit

Permalink
add vim syntax highlight for jinja
Browse files Browse the repository at this point in the history
  • Loading branch information
stibipet committed Feb 7, 2024
1 parent f8f2c3a commit c8d375a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions appconfig/vim/dotvimrc
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ if g:user_mode == "1"
" let g:chromatica#dotclangfile_search_path=''
endif

" EPIGEN_ADD_BLOCK_PETR {
" Plug 'lepture/vim-jinja'
" EPIGEN_ADD_BLOCK_PETR }

endif

" Repeat.vim remaps . in a way that plugins can tap into it.
Expand Down Expand Up @@ -472,8 +476,8 @@ au BufNewFile,BufRead *.sk setf sketch
au FileType sk,sketch set foldmethod=marker
au FileType sk,sketch set foldmarker=%\ %{,%\ %}

au FileType xml,world,xacro set foldmethod=marker
au FileType xml,world,xacro set foldmarker={-->,<!--}
au FileType xml,world,xacro,jinja set foldmethod=marker
au FileType xml,world,xacro,jinja set foldmarker={-->,<!--}

" find and replace
map <Leader>fr :%s///g<left><left>
Expand Down

0 comments on commit c8d375a

Please sign in to comment.