From e1fa1d1c9ec1c4080febc65a04347528804ceebb Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Wed, 14 May 2025 10:59:55 +0100 Subject: [PATCH] vim: packadd needs ! to avoid being loaded twice from vimrc --- vim/ftplugin/cpp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index 19850a7..d24f1ff 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -60,7 +60,7 @@ setlocal errorformat+=%X%*\\a:\ Leaving\ directory\ [`']%f' setlocal errorformat+=%*[^[]\[%tRROR\]%m\ \[%f:%l\] setlocal errorformat+=%*[^[]\[%tARNING\]%m\ \[%f:%l\] -packadd termdebug +packadd! termdebug let g:termdebug_wide = 1 function! s:Debug(...) tabedit % -- 2.48.1