mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21:30 +01:00
vim: add shfmt as sh formatter
This commit is contained in:
parent
5a6dd6bee7
commit
5f84402142
|
@ -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'],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user