From c70c27e633ee9f8b3e4ace0286ad31e0c6be1ac5 Mon Sep 17 00:00:00 2001 From: gxlin Date: Fri, 5 Feb 2021 20:44:47 +0800 Subject: Change tags location and git default branch --- .vimrc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 46dfd0f..0430e11 100644 --- a/.vimrc +++ b/.vimrc @@ -98,6 +98,7 @@ Plug 'tpope/vim-unimpaired' Plug 'godlygeek/tabular' Plug 'ledger/vim-ledger', {'for': 'ledger'} Plug 'puremourning/vimspector' +Plug 'nathangrigg/vim-beancount', {'for': 'beancount'} call plug#end() " Plugin config @@ -120,14 +121,9 @@ let g:ycm_filetype_whilelist = { " vim-gutentags let g:gutentags_project_root = ['.root', '.svn', '.git', '.hg', '.project'] let g:gutentags_ctags_tagfile = '.tags' -let s:vim_tags = expand('~/.cache/tags') -let g:gutentags_cache_dir = s:vim_tags let g:gutentags_ctags_extra_args = ['--fields=+niazS', '--extra=+q'] let g:gutentags_ctags_extra_args = ['--c++-kinds=+px'] let g:gutentags_ctags_extra_args = ['--c-kinds=+px'] -if !isdirectory(s:vim_tags) - silent! call mkdir(s:vim_tags, 'p') -endif " asyncrun.vim let g:asyncrun_open = 6 " the number of lines of quickfix window -- cgit v1.2.3