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 --- vim/ftplugin/c.vim | 7 ------- vim/ftplugin/cpp.vim | 8 -------- vim/ftplugin/json.vim | 1 - vim/ftplugin/nix.vim | 5 ----- vim/ftplugin/python.vim | 2 -- vim/ftplugin/sh.vim | 2 -- vim/ftplugin/tex.vim | 1 - 7 files changed, 26 deletions(-) delete mode 100644 vim/ftplugin/c.vim delete mode 100644 vim/ftplugin/cpp.vim delete mode 100644 vim/ftplugin/json.vim delete mode 100644 vim/ftplugin/nix.vim delete mode 100644 vim/ftplugin/python.vim delete mode 100644 vim/ftplugin/sh.vim delete mode 100644 vim/ftplugin/tex.vim (limited to 'vim/ftplugin') diff --git a/vim/ftplugin/c.vim b/vim/ftplugin/c.vim deleted file mode 100644 index 1d3780c..0000000 --- a/vim/ftplugin/c.vim +++ /dev/null @@ -1,7 +0,0 @@ -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 :ALENext -nmap :ALEPrevious diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim deleted file mode 100644 index 89944ea..0000000 --- a/vim/ftplugin/cpp.vim +++ /dev/null @@ -1,8 +0,0 @@ -" This is for C but vim defines *.h as cpp type so here we have it -let b:ale_linters = ['ccls', 'cppcheck', 'flawfinder'] -let b:ale_fixers = ['clang-format', 'remove_trailing_lines', 'trim_whitespace'] -let g:ale_cpp_ccls_init_options = {'cache': {'directory': '/tmp/ccls/cache'}} -let g:ale_cpp_parse_compile_commands = 1 - -nmap :ALENext -nmap :ALEPrevious diff --git a/vim/ftplugin/json.vim b/vim/ftplugin/json.vim deleted file mode 100644 index 829a37e..0000000 --- a/vim/ftplugin/json.vim +++ /dev/null @@ -1 +0,0 @@ -let b:ale_fixers = ['jq'] diff --git a/vim/ftplugin/nix.vim b/vim/ftplugin/nix.vim deleted file mode 100644 index 3808c31..0000000 --- a/vim/ftplugin/nix.vim +++ /dev/null @@ -1,5 +0,0 @@ -let b:ale_linters = ['nix', 'rnix_lsp', 'statix'] -let b:ale_fixers = ['alejandra', 'remove_trailing_lines', 'trim_whitespace'] - -nmap :ALENext -nmap :ALEPrevious diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim deleted file mode 100644 index 55e7692..0000000 --- a/vim/ftplugin/python.vim +++ /dev/null @@ -1,2 +0,0 @@ -let b:ale_linters = ['pylsp', 'pylint', 'mypy', 'pydocstyle'] -let b:ale_fixers = ['isort', 'black', 'remove_trailing_lines', 'trim_whitespace'] diff --git a/vim/ftplugin/sh.vim b/vim/ftplugin/sh.vim deleted file mode 100644 index 8cc42e2..0000000 --- a/vim/ftplugin/sh.vim +++ /dev/null @@ -1,2 +0,0 @@ -let b:ale_linters = ['shell', 'shellcheck'] -let b:ale_fixers = ['shfmt', 'trim_whitespace', 'remove_trailing_lines'] diff --git a/vim/ftplugin/tex.vim b/vim/ftplugin/tex.vim deleted file mode 100644 index 5eb1926..0000000 --- a/vim/ftplugin/tex.vim +++ /dev/null @@ -1 +0,0 @@ -let b:ale_linters = ['lacheck'] -- cgit v1.2.3