From ad3de867450ce97e5d2418c88f7caa8c37ed3ad9 Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Mon, 7 Jul 2025 14:21:08 +0800 Subject: [PATCH] vim: add filetype htmldjango --- vimrc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/vimrc b/vimrc index a317d49..d6723c7 100644 --- a/vimrc +++ b/vimrc @@ -182,18 +182,18 @@ endfunc au BufNewFile,BufRead *.frag,*.vert,*.geom,*.fp,*.vp,*.glsl setf glsl augroup vimrc_cmaps -autocmd FileType c,cpp,rust,typescript inoremap ; Semicolon() -autocmd FileType vim,c,cpp,go,rust,python,typescript,tex inoremap ( () -autocmd FileType vim,c,cpp,go,rust,python,typescript,tex inoremap [ [] -autocmd FileType vim,c,cpp,go,rust,python,typescript,json inoremap " "" -autocmd FileType vim,c,cpp,go,rust,python,typescript inoremap ' '' +autocmd FileType c,cpp,rust,typescript,htmldjango inoremap ; Semicolon() +autocmd FileType vim,c,cpp,go,rust,python,typescript,tex,htmldjango inoremap ( () +autocmd FileType vim,c,cpp,go,rust,python,typescript,tex,htmldjango inoremap [ [] +autocmd FileType vim,c,cpp,go,rust,python,typescript,json,htmldjango inoremap " "" +autocmd FileType vim,c,cpp,go,rust,python,typescript,htmldjango inoremap ' '' -autocmd FileType c,cpp,go,rust,typescript inoremap { {} -autocmd FileType c,cpp,go,rust,typescript inoremap {} +autocmd FileType c,cpp,go,rust,typescript,htmldjango inoremap { {} +autocmd FileType c,cpp,go,rust,typescript,htmldjango inoremap {} autocmd FileType vim,tex,python inoremap { {} autocmd FileType vim,tex,python inoremap {} -autocmd Filetype c,cpp,go,rust,python,typescript nmap K (coc-definition) +autocmd Filetype c,cpp,go,rust,python,typescript,htmldjango nmap K (coc-definition) augroup END