From 98e47fb0dfd6ca8612d3206bb76a91ecff4c6e1a Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 15 Apr 2022 15:00:47 -0400 Subject: [PATCH] Allow the disabling of autotagging again --- vim/config/plugins/vim-gutentags.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vim/config/plugins/vim-gutentags.vim b/vim/config/plugins/vim-gutentags.vim index 55bf478..2d35674 100644 --- a/vim/config/plugins/vim-gutentags.vim +++ b/vim/config/plugins/vim-gutentags.vim @@ -1 +1,6 @@ let g:gutentags_cache_dir = '~/.vim/gutentags' + +"prevent automatically generating the tagfile and syntax highlighting tags (default: 0) +if !exists("g:disableautotags") + let g:gutentags_enabled = 0 +endif