]> git.rmz.io Git - dotfiles.git/commitdiff
vim: disable ale loclist and many cpp linters
authorSamir Benmendil <me@rmz.io>
Mon, 2 Mar 2020 00:49:45 +0000 (00:49 +0000)
committerSamir Benmendil <me@rmz.io>
Mon, 2 Mar 2020 00:58:42 +0000 (00:58 +0000)
vim/vimrc

index c50157245114a04833086fa7d5fb54e65782d134..9b09203b9de0dcd095b993f0c50d5cb19cf544b0 100644 (file)
--- 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'