vim: add hsig for hapi, set ejs ft to html
This commit is contained in:
2
vimrc
2
vimrc
@@ -174,6 +174,7 @@ augroup filetype
|
||||
au BufRead,BufNewFile *.eex set filetype=html
|
||||
au BufRead,BufNewFile *.bss set filetype=vb
|
||||
au BufRead,BufNewFile *.asm set filetype=nasm
|
||||
au BufNewFile,BufRead *.ejs set filetype=html
|
||||
augroup END
|
||||
|
||||
augroup java
|
||||
@@ -228,6 +229,7 @@ augroup filetype typescript
|
||||
autocmd!
|
||||
autocmd BufRead,BufNewFile *.ts inoremap cll console.log()<left>
|
||||
iabbrev <buffer> iff if()<left>
|
||||
iabbrev hsig async function NAME(request: Request, h: ResponseToolkit) {<ESC>?NAME<CR><left>
|
||||
augroup END
|
||||
|
||||
" augroup filetype make
|
||||
|
||||
Reference in New Issue
Block a user