1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 23:31:32 +01:00

vim: improve plugins_config

This commit is contained in:
bretello 2021-09-26 15:59:46 +02:00
parent d1a6bf898e
commit 9fe51f308c
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -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"],