diff options
| author | jdhao <jdhao@hotmail.com> | 2020-11-25 21:34:34 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-11-25 21:34:34 +0800 |
| commit | 2b77a8b9de58ad75e4444d26d2b38f1bf4eb3487 (patch) | |
| tree | d63008e3c1ab56cbd0544567843ec20736e95b15 | |
| parent | 283356ee526c775469e52b8716c31ddba2cceee2 (diff) | |
update ALE and Neoformat settings
Disable ALE for C++/C linting since we use ccls.
| -rw-r--r-- | core/plugins.vim | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/core/plugins.vim b/core/plugins.vim index 0df68f2..ab30006 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -662,9 +662,7 @@ nmap P <Plug>(miniyank-autoPut) " linters for different filetypes let g:ale_linters = { \ 'vim': ['vint'], - \ 'cpp': ['clang'], - \ 'c': ['clang'] -\} + \ } " Only run linters in the g:ale_linters dictionary let g:ale_linters_explicit = 1 @@ -676,13 +674,13 @@ let g:ale_sign_warning = '!' """""""""""""""""""""""""""""" neoformat settings """"""""""""""""""""""" let g:neoformat_enabled_python = ['black', 'yapf'] let g:neoformat_cpp_clangformat = { - \ 'exe': 'clang-format', - \ 'args': ['--style="{IndentWidth: 4}"'] -\} + \ 'exe': 'clang-format', + \ 'args': ['--style="{IndentWidth: 4}"'] + \ } let g:neoformat_c_clangformat = { - \ 'exe': 'clang-format', - \ 'args': ['--style="{IndentWidth: 4}"'] -\} + \ 'exe': 'clang-format', + \ 'args': ['--style="{IndentWidth: 4}"'] + \ } let g:neoformat_enabled_cpp = ['clangformat'] let g:neoformat_enabled_c = ['clangformat'] |
