aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-01-12 08:44:57 +0100
committerKarel Kočí <cynerd@email.cz>2023-01-12 08:44:57 +0100
commit9aebd3181e16a5718b5d958d54e606a41a769870 (patch)
tree8e816066c112fb866e27bbf53526b11333be2652 /vim/ftplugin
parent718e46e50343c40b786a806ef9f18c530c02b369 (diff)
downloadmyconfigs-9aebd3181e16a5718b5d958d54e606a41a769870.tar.gz
myconfigs-9aebd3181e16a5718b5d958d54e606a41a769870.tar.bz2
myconfigs-9aebd3181e16a5718b5d958d54e606a41a769870.zip
configure clang
Diffstat (limited to 'vim/ftplugin')
-rw-r--r--vim/ftplugin/c.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/ftplugin/c.vim b/vim/ftplugin/c.vim
index 1b8989d..1d3780c 100644
--- a/vim/ftplugin/c.vim
+++ b/vim/ftplugin/c.vim
@@ -1,6 +1,7 @@
let b:ale_linters = ['clangd', 'cppcheck', 'flawfinder']
let b:ale_fixers = ['clang-format', 'remove_trailing_lines', 'trim_whitespace']
let g:ale_c_parse_compile_commands = 1
+let g:ale_c_clangd_options = '--header-insertion=never'
nmap <F8> :ALENext<cr>
nmap <F7> :ALEPrevious<cr>