1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 23:31:32 +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
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
let g:ale_set_balloons = 1 " enable tooltips
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'bash': ['shfmt'],
\ 'sh': ['shfmt'],
\ 'json': ['prettier'],
\ 'c': ['clang-format'],
\ 'cpp': ['clang-format'],