From 7d199cd124ce3f7c26f0edbe89ffa32449e2efb4 Mon Sep 17 00:00:00 2001 From: Chiel ten Brinke Date: Thu, 24 May 2018 10:24:53 +0200 Subject: [PATCH] Prettier: don't require a local config. --- plugin/defaults.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugin/defaults.vim b/plugin/defaults.vim index 5bf7d6a..76e0de2 100644 --- a/plugin/defaults.vim +++ b/plugin/defaults.vim @@ -160,9 +160,7 @@ if !exists('g:formatdef_standard_javascript') endif if !exists('g:formatdef_prettier_javascript') - if filereadable('.prettierrc') - let g:formatdef_prettier_javascript = '"prettier"' - endif + let g:formatdef_prettier_javascript = '"prettier"' endif " This is an xo formatter (inspired by the above eslint formatter)