From: Samir Benmendil Date: Wed, 14 May 2025 09:59:55 +0000 (+0100) Subject: vim: packadd needs ! to avoid being loaded twice from vimrc X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/e1fa1d1c9ec1c4080febc65a04347528804ceebb?ds=inline;hp=db442aa73a2d50ef84222f5d035997d37eeb12a4 vim: packadd needs ! to avoid being loaded twice from vimrc --- 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 %