mirror of
https://github.com/luzifer/vim.git
synced 2024-09-18 18:42:55 +00:00
Use eslint as autoformatter for vue files
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
d83cfad139
commit
332afea3a4
4
vimrc
4
vimrc
@ -1010,7 +1010,9 @@ let g:go_autodetect_gopath = 0
|
||||
" Autoformat configuration
|
||||
"
|
||||
|
||||
au FileType python,javascript au BufWritePre <buffer> :Autoformat
|
||||
let g:formatters_vue = ['eslint_local']
|
||||
|
||||
au FileType python,javascript,vue au BufWritePre <buffer> :Autoformat
|
||||
au FileType sh,zsh au BufWritePre <buffer> :call SHFmt()
|
||||
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user