mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
11 lines
450 B
VimL
11 lines
450 B
VimL
""""""""""""""""""""""""""""""""""""
|
|
" Prettier-specific defaults "
|
|
" from webinstall.dev/vim-prettier "
|
|
""""""""""""""""""""""""""""""""""""
|
|
|
|
" format as-you-type is quite annoying, so we turn it off
|
|
let g:prettier#autoformat = 0
|
|
|
|
" list all of the extensions for which prettier should run
|
|
autocmd BufWritePre .babelrc,.eslintrc,.jshintrc,*.js,*.jsx,*.mjs,*.ts,*.tsx,*.css,*.less,*.scss,*.json,*.graphql,*.md,*.vue,*.yaml,*.html PrettierAsync
|