mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 15:06:38 -05:00
Fix disabling tag generation, and only index files tracked by git
This commit is contained in:
parent
98e47fb0df
commit
77f5a45c25
1 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,12 @@
|
|||
let g:gutentags_cache_dir = '~/.vim/gutentags'
|
||||
|
||||
let g:gutentags_file_list_command = {
|
||||
\ 'markers': {
|
||||
\ '.git': 'git ls-files',
|
||||
\ },
|
||||
\ }
|
||||
|
||||
"prevent automatically generating the tagfile and syntax highlighting tags (default: 0)
|
||||
if !exists("g:disableautotags")
|
||||
if exists("g:disableautotags") && g:disableautotags == 1
|
||||
let g:gutentags_enabled = 0
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue