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

vim: add shfmt as sh formatter

This commit is contained in:
bretello 2021-05-19 10:30:35 +02:00
parent 5a6dd6bee7
commit 5f84402142

View File

@ -1,11 +1,12 @@
"""" PLUGINS CONFIGURATION """" PLUGINS CONFIGURATION
let g:ack_default_options = " --cc --cpp --shell --python --html --js --vue" let g:ack_default_options = " --go --cc --cpp --shell --python --html --js --vue"
" ALE configuration " ALE configuration
let g:ale_set_balloons = 1 " enable tooltips let g:ale_set_balloons = 1 " enable tooltips
let g:ale_fixers = { let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'], \ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'bash': ['shfmt'], \ 'bash': ['shfmt'],
\ 'sh': ['shfmt'],
\ 'json': ['prettier'], \ 'json': ['prettier'],
\ 'c': ['clang-format'], \ 'c': ['clang-format'],
\ 'cpp': ['clang-format'], \ 'cpp': ['clang-format'],