From f1c211d10365e5f9f6cd335617484f52abf860c9 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Thu, 23 Dec 2021 21:07:39 +0100 Subject: [PATCH] plugins: Configure gutentags --- plugins-noroot.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins-noroot.vim b/plugins-noroot.vim index f88134f..6951a07 100644 --- 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 + " 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 -- 2.30.2