vim: add shfmt as sh formatter

feature/improve-speed
bretello 2021-05-19 10:30:35 +02:00
parent 5a6dd6bee7
commit 5f84402142
1 changed files with 2 additions and 1 deletions

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'],