Prettier: don't require a local config.
This commit is contained in:
parent
7a2907b1e1
commit
7d199cd124
@ -160,9 +160,7 @@ if !exists('g:formatdef_standard_javascript')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if !exists('g:formatdef_prettier_javascript')
|
if !exists('g:formatdef_prettier_javascript')
|
||||||
if filereadable('.prettierrc')
|
|
||||||
let g:formatdef_prettier_javascript = '"prettier"'
|
let g:formatdef_prettier_javascript = '"prettier"'
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" This is an xo formatter (inspired by the above eslint formatter)
|
" This is an xo formatter (inspired by the above eslint formatter)
|
||||||
|
Loading…
Reference in New Issue
Block a user