From: Stefan Huber Date: Sun, 31 Jan 2021 15:15:43 +0000 (+0100) Subject: init: Packadd termdebug for c,cpp X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=commitdiff_plain;h=451f3958fd30da1bbf577b20b3761429f4050768 init: Packadd termdebug for c,cpp --- diff --git a/init.vim b/init.vim index 80b80ee..86f93b3 100644 --- a/init.vim +++ b/init.vim @@ -177,6 +177,8 @@ au BufEnter *.cpp,*.cc,*.cxx let b:fswitchdst='h,hxx,hpp,hh' au BufEnter *.h,*.hh,*.hxx let b:fswitchdst='cc,c,cxx,cpp' au BufNewFile *.{h,hpp,hxx} call AddIncludeGuards() +au FileType cpp,c packadd termdebug + augroup autofoldcolumn au! au CursorHold,BufWinEnter * AutoOrigamiFoldColumn