add syntax highlighting for tera templates
parent
4ef9cbc4b2
commit
cccc2bc682
1
.vimrc
1
.vimrc
|
@ -22,6 +22,7 @@ filetype on
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
autocmd FileType make set noexpandtab shiftwidth=8 softtabstop=0
|
autocmd FileType make set noexpandtab shiftwidth=8 softtabstop=0
|
||||||
|
autocmd BufNewFile,BufRead *.tera set syntax=django
|
||||||
|
|
||||||
" Center screen when scrolling search results
|
" Center screen when scrolling search results
|
||||||
nmap n nzz
|
nmap n nzz
|
||||||
|
|
Reference in New Issue