1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

format prettier & shell scripts in nvim

This commit is contained in:
Ryan Kes 2020-06-19 11:56:33 +02:00
parent 97a337fc96
commit e501dff7ed
2 changed files with 2 additions and 2 deletions

View File

@ -10,4 +10,4 @@
"coc-tsserver": ">=1.5.1",
"coc-yaml": ">=1.0.4"
}
}
}

View File

@ -190,7 +190,7 @@
let g:ale_sign_warning = '⚠️'
" Fix files
let g:ale_fixers = {'javascript': ['prettier', 'eslint']}
let g:ale_fixers = {'javascript': ['prettier', 'eslint'], 'sh': ['shfmt'], 'json': ['prettier']}
" Fix files automatically on save
let g:ale_fix_on_save = 1