From fcf6c84515e745ff581684bd8390ffa6e478abe4 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 23 Sep 2020 20:04:13 +0200 Subject: projects/aodocs.vim: Add `htodo` abbreviation to insert JSDoc TODO Make it easier to insert reminder comments to write a JSDoc block. --- projects/aodocs.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'projects') diff --git a/projects/aodocs.vim b/projects/aodocs.vim index edb88dd..fd92016 100644 --- a/projects/aodocs.vim +++ b/projects/aodocs.vim @@ -17,6 +17,9 @@ augroup AODocs autocmd BufRead,BufEnter $VIM_PROJECT_PATH_AODOCS/*.js \ call s:ESLintAddMappings() + autocmd BufRead,BufEnter $VIM_PROJECT_PATH_AODOCS/*.js + \ iabbrev htodo /**TODO/ + autocmd BufRead,BufEnter $VIM_PROJECT_PATH_AODOCS/*.json \ setlocal expandtab tabstop=4 softtabstop=4 shiftwidth=4 -- cgit v1.2.3