mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 11:31:30 +01:00
vim: improve plugins_config
This commit is contained in:
parent
d1a6bf898e
commit
9fe51f308c
|
@ -1,5 +1,5 @@
|
||||||
"""" PLUGINS CONFIGURATION
|
"""" 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
|
" ALE configuration
|
||||||
let g:ale_set_balloons = 1 " enable tooltips
|
let g:ale_set_balloons = 1 " enable tooltips
|
||||||
|
@ -19,6 +19,7 @@ let g:ale_fixers = {
|
||||||
\ 'python': ['black', 'isort'],
|
\ 'python': ['black', 'isort'],
|
||||||
\ 'go': ['gofmt', "goimports"],
|
\ 'go': ['gofmt', "goimports"],
|
||||||
\ 'rust': ['rustfmt'],
|
\ 'rust': ['rustfmt'],
|
||||||
|
\ 'sql': ['pgformatter'],
|
||||||
\ "javascript": ["prettier", "eslint"],
|
\ "javascript": ["prettier", "eslint"],
|
||||||
\ "vue": ["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_python_pylint_options = "-j0 --disable=W0511"
|
||||||
" let g:ale_cpp_clang_options = '-std=c++17 -Wall -Wpedantic'
|
" 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_cpp_gcc_options = '-std=c++17 -Wall -Wpedantic'
|
||||||
|
let g:ale_rust_rustfmt_options = '--edition=2018'
|
||||||
|
|
||||||
let g:ale_linters = {
|
let g:ale_linters = {
|
||||||
\ 'bash': ['bash-language-server', 'bashlint', "shellcheck"],
|
\ 'bash': ['bash-language-server', 'bashlint', "shellcheck"],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user