From 1970054228b3a9a3a8fc99af723ee13c147e7747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 25 Feb 2024 22:49:55 +0100 Subject: Migrate from vim to nvim --- config/nvim/ftplugin/c.vim | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 config/nvim/ftplugin/c.vim (limited to 'config/nvim/ftplugin/c.vim') diff --git a/config/nvim/ftplugin/c.vim b/config/nvim/ftplugin/c.vim new file mode 100644 index 0000000..3769d80 --- /dev/null +++ b/config/nvim/ftplugin/c.vim @@ -0,0 +1,7 @@ +let b:ale_linters = ['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 :ALENext +nmap :ALEPrevious -- cgit v1.2.3