From df2b91279b4925c800e9209894d9d3f77892b7e2 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 1 Mar 2024 22:29:30 -0500 Subject: [PATCH] Use the user's nvim folder as the default location for gutentags, and make it possible to override this with a global variable --- vim/config/plugins/vim-gutentags.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/config/plugins/vim-gutentags.vim b/vim/config/plugins/vim-gutentags.vim index 5e7ed2c..fc7d47f 100644 --- a/vim/config/plugins/vim-gutentags.vim +++ b/vim/config/plugins/vim-gutentags.vim @@ -1,4 +1,4 @@ -let g:gutentags_cache_dir = '~/.vim/gutentags' +let g:gutentags_cache_dir = get(g:, "gutentags_cache_dir", "~/.config/nvim/gutentags") let g:gutentags_file_list_command = { \ 'markers': {