From 2b367b7df11b42e247d7bf1bff6a776af368c652 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Thu, 6 Jan 2022 09:17:26 +0100 Subject: [PATCH] plugins: Move vim-clang away from plugins-local --- plugins-local.vim.example | 6 ------ plugins-noroot-nolowendbox.vim | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/plugins-local.vim.example b/plugins-local.vim.example index 3372eee..c26074c 100644 --- a/plugins-local.vim.example +++ b/plugins-local.vim.example @@ -1,16 +1,10 @@ Plug 'jamessan/vim-gnupg' -" An alternative to youcompleteme (ycm) -Plug 'justmao945/vim-clang', {'for': ['c', 'cpp', 'objc']} - "Plug 'kien/tabman.vim' "Plug 'chikamichi/mediawiki.vim' function PluginsLocalConfig() - " Do not show diagnostic window of vim-clang - let g:clang_diagsopt = '' - let g:ConqueTerm_StartMessages = 0 " Reduce load on memory by updating one plugin at a time diff --git a/plugins-noroot-nolowendbox.vim b/plugins-noroot-nolowendbox.vim index d665a29..3f84bfb 100644 --- a/plugins-noroot-nolowendbox.vim +++ b/plugins-noroot-nolowendbox.vim @@ -15,6 +15,8 @@ Plug 'artur-shaik/vim-javacomplete2', {'for': 'java'} Plug 'neomake/neomake' Plug 'puremourning/vimspector' +Plug 'justmao945/vim-clang', {'for': ['c', 'cpp', 'objc']} + " Prevent slow foling update, e.g., for vimtex Plug 'Konfekt/FastFold' Plug 'lervag/vimtex', {'for': 'tex'} @@ -275,4 +277,7 @@ EOF au BufNewFile .vimspector.json read ~/.vim/vimspector-config/vimspector.json + " Do not show diagnostic window of vim-clang + let g:clang_diagsopt = '' + endfunction -- 2.39.5