From 6e3f5a96b34d4797e81f09e404457e881cfe827d Mon Sep 17 00:00:00 2001 From: druckdev Date: Wed, 30 Jun 2021 12:35:57 +0200 Subject: [PATCH] vim: Disable gutentags when editing git-commits Disable gutentags as it seems to regenerate the entire tags file when editing git-commits, leading to a delay when exiting and a message from git: "Waiting for your editor to close the file..." --- .config/vim/ftplugin/gitcommit.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/vim/ftplugin/gitcommit.vim b/.config/vim/ftplugin/gitcommit.vim index 9063a2f..9ec8cae 100644 --- a/.config/vim/ftplugin/gitcommit.vim +++ b/.config/vim/ftplugin/gitcommit.vim @@ -3,3 +3,7 @@ setlocal colorcolumn=50,72 setlocal textwidth=72 " Spell checking always enabled setlocal spell spelllang=en + +" Disable gutentags as it seems to regenerate the entire tags file when editing +" git-commits... +let g:gutentags_enabled = 0