projects
/
vimconf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4b6c4c4
)
plugins: Configure gutentags
author
Stefan Huber <shuber@sthu.org>
Thu, 23 Dec 2021 20:07:39 +0000
(21:07 +0100)
committer
Stefan Huber <shuber@sthu.org>
Thu, 23 Dec 2021 20:07:39 +0000
(21:07 +0100)
plugins-noroot.vim
patch
|
blob
|
history
diff --git
a/plugins-noroot.vim
b/plugins-noroot.vim
index f88134f6a96e81580aba0dd33a2b8a39f834cbe8..6951a0725155e4333748d4e1839ea85f848a1b20 100644
(file)
--- a/
plugins-noroot.vim
+++ b/
plugins-noroot.vim
@@
-49,4
+49,9
@@
function PluginsNorootConfig()
" Generally disable gutentags, but enable for some filetypes
let g:gutentags_enabled = 0
au FileType c,cpp,objc,tex let g:gutentags_enabled = 1
" Generally disable gutentags, but enable for some filetypes
let g:gutentags_enabled = 0
au FileType c,cpp,objc,tex let g:gutentags_enabled = 1
+ " Make manually created tags files also root markers
+ let g:gutentags_project_root = ['tags']
+ let g:gutentags_cache_dir = expand('~/.cache/vim/ctags/')
+ " Do not automatically generate on browsing
+ let g:gutentags_generate_on_missing = 0
endfunction
endfunction