From 9fe51f308c0431c644816a18761e40c0dc18ff4e Mon Sep 17 00:00:00 2001 From: bretello Date: Sun, 26 Sep 2021 15:59:46 +0200 Subject: [PATCH] vim: improve plugins_config --- vim/plugins_config.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vim/plugins_config.vim b/vim/plugins_config.vim index 8dfe101..93e4cdf 100644 --- a/vim/plugins_config.vim +++ b/vim/plugins_config.vim @@ -1,5 +1,5 @@ """" PLUGINS CONFIGURATION -let g:ack_default_options = " --go --cc --cpp --shell --python --html --js --vue" +let g:ack_default_options = " --cc --cpp --shell --python --html --js --vue --rust --yaml" " ALE configuration let g:ale_set_balloons = 1 " enable tooltips @@ -19,6 +19,7 @@ let g:ale_fixers = { \ 'python': ['black', 'isort'], \ 'go': ['gofmt', "goimports"], \ 'rust': ['rustfmt'], + \ 'sql': ['pgformatter'], \ "javascript": ["prettier", "eslint"], \ "vue": ["prettier", "eslint"] \} @@ -28,6 +29,7 @@ let g:ale_python_bandit_options = "-c banditrc" let g:ale_python_pylint_options = "-j0 --disable=W0511" " let g:ale_cpp_clang_options = '-std=c++17 -Wall -Wpedantic' " let g:ale_cpp_gcc_options = '-std=c++17 -Wall -Wpedantic' +let g:ale_rust_rustfmt_options = '--edition=2018' let g:ale_linters = { \ 'bash': ['bash-language-server', 'bashlint', "shellcheck"],