From: Samir Benmendil Date: Mon, 2 Mar 2020 00:49:45 +0000 (+0000) Subject: vim: disable ale loclist and many cpp linters X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/ef9d007193c7684ca2a7d2606c19a2f62d9b0ba0 vim: disable ale loclist and many cpp linters --- diff --git a/vim/vimrc b/vim/vimrc index c501572..9b09203 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -72,12 +72,13 @@ Plug 'kana/vim-operator-user' " staging " Check LucHermites plugins: https://github.com/LucHermitte/lh-cpp Plug 'dense-analysis/ale' " {{{2 -let g:ale_c_build_dir_names = [ 'build-Linux-x86_64' ] let g:ale_echo_msg_format = '[%linter%] %code: %%s' let g:ale_c_parse_compile_commands = 1 let g:ale_cpp_parse_compile_commands = 1 -let g:ale_cpp_gcc_options = '' -let g:ale_cpp_clang_options = '' +" don't use loclist as it's being populated by ycm +" (might want to enable for other filetypes) +let g:ale_set_loclist = 0 +let g:ale_linters_ignore = { 'cpp': ['clangd', 'clangtidy', 'clang'] } Plug 'git@github.com:/ram-z/vim-orgmode', { 'branch': 'dev' } " {{{2 Plug 'vim-scripts/syntaxrange'