aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-11-25 21:34:34 +0800
committerjdhao <jdhao@hotmail.com>2020-11-25 21:34:34 +0800
commit2b77a8b9de58ad75e4444d26d2b38f1bf4eb3487 (patch)
treed63008e3c1ab56cbd0544567843ec20736e95b15 /core
parent283356ee526c775469e52b8716c31ddba2cceee2 (diff)
update ALE and Neoformat settings
Disable ALE for C++/C linting since we use ccls.
Diffstat (limited to 'core')
-rw-r--r--core/plugins.vim16
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']