mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-21 19:32:31 -05:00
Configure everything for gutentags to function
This commit is contained in:
parent
025c067af5
commit
7b243e00ca
2 changed files with 3 additions and 9 deletions
|
@ -14,12 +14,8 @@ scriptencoding utf-8
|
|||
|
||||
"INITIALIZE PLUGINS: {{{
|
||||
"create missing plugin config files and directories
|
||||
if exists('*mkdir') && !isdirectory(glob("~/.vim/tags_by_filetype"))
|
||||
call mkdir(glob("~/.vim/tags_by_filetype"),'p')
|
||||
endif
|
||||
|
||||
if !filereadable(glob("~/.vim/tags"))
|
||||
new|silent e ~/.vim/tags|silent w|q
|
||||
if exists('*mkdir') && !isdirectory(glob("~/.vim/gutentags"))
|
||||
call mkdir(glob("~/.vim/gutentags"),'p')
|
||||
endif
|
||||
|
||||
if !filereadable(glob("~/.vim/filetypes.vim"))
|
||||
|
@ -28,9 +24,6 @@ scriptencoding utf-8
|
|||
|
||||
"load plugins in vim/bundle/ and vim/bundle.user/
|
||||
execute pathogen#infect('bundle/{}', 'bundle.user/{}')
|
||||
|
||||
"set the locations for gutentags, tagbar and other plugins to look for tag files
|
||||
set tags=./.tags;,~/.vim/tags
|
||||
"}}}
|
||||
|
||||
runtime! config/plugins/*
|
||||
|
|
1
vim/config/plugins/vim-gutentags.vim
Normal file
1
vim/config/plugins/vim-gutentags.vim
Normal file
|
@ -0,0 +1 @@
|
|||
let g:gutentags_cache_dir = '~/.vim/gutentags'
|
Loading…
Reference in a new issue