From e3ec82e56b08d6d0fc9098eb93dcaf121f536904 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 1 Jun 2022 20:40:30 +0200 Subject: vimrc: Disable context.vim by default Enable it by default in AODocs paths. --- projects/aodocs.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'projects') diff --git a/projects/aodocs.vim b/projects/aodocs.vim index 971d3c8..0d9c2e3 100644 --- a/projects/aodocs.vim +++ b/projects/aodocs.vim @@ -45,6 +45,12 @@ augroup AODocs autocmd BufRead,BufEnter $VIM_PROJECT_PATH_AODOCS_UFO_EXTENSION/*.js \ setlocal path+=$VIM_PROJECT_PATH_AODOCS_UFO_EXTENSION_MODULE + " Turn on context.vim + autocmd BufRead,BufEnter + \ $VIM_PROJECT_PATH_AODOCS_GO/* + \,$VIM_PROJECT_PATH_AODOCS/* + \ ContextEnable + autocmd BufRead,BufEnter *.todo \ nnoremap yy :call TodoCopyLast() augroup END -- cgit v1.2.3