load glutags only for c and cpp project

This commit is contained in:
Nachuan Tang
2023-01-26 16:50:22 -05:00
parent 34e38eae0c
commit e11f9b4a07
+2 -1
View File
@@ -78,7 +78,7 @@
" put text in neibouring tmux pane into auto complete
Plug 'wellle/tmux-complete.vim'
Plug 'ludovicchabant/vim-gutentags'
Plug 'ludovicchabant/vim-gutentags', { 'for': ['c', 'cpp'] }
Plug 'lambdalisue/readablefold.vim'
" only work with nvim > 0.5
@@ -137,6 +137,7 @@ endif
" ludovicchabant/vim-gutentags {
set statusline+=%{gutentags#statusline()}
let g:gutentags_cache_dir=g:vim_dir . '/.vimtags/'
let g:gutentags_project_root=['.git', '.hg', '.svn', '.bzr', '_darcs', '_FOSSIL_', '.fslckout', 'src']
"}
" easymotion/vim-easymotion {