Tera templates

This commit is contained in:
Rodolphe Bréard 2021-01-18 22:48:43 +01:00
parent aad8043668
commit dcf134070c

5
.vimrc
View file

@ -60,6 +60,7 @@ let g:licenses_copyright_holders_name = $USER_NICKNAME
let g:licenses_authors_name = $USER_NICKNAME
let g:licenses_default_commands = ['affero', 'apache', 'bsd3', 'cecill', 'gfdl', 'gpl', 'gplv2', 'isc', 'lgpl', 'mit', 'mpl', 'verbatim']
" Line number modes
:set number relativenumber
:augroup numbertoggle
@ -67,3 +68,7 @@ let g:licenses_default_commands = ['affero', 'apache', 'bsd3', 'cecill', 'gfdl',
: autocmd BufEnter,FocusGained,InsertLeave * set relativenumber
: autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber
:augroup END
" Tera templates
autocmd BufNewFile,BufRead *.tera set syntax=htmldjango