From 2a238fda9eb119c89a0cab2e783c2349f59725e6 Mon Sep 17 00:00:00 2001 From: Pavel Pertsev Date: Tue, 29 Aug 2017 11:46:53 +0300 Subject: [PATCH] Add prettier_d fixer path --- autoload/ale/fixers/prettier.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/ale/fixers/prettier.vim b/autoload/ale/fixers/prettier.vim index ae370ac..7f82ecf 100644 --- a/autoload/ale/fixers/prettier.vim +++ b/autoload/ale/fixers/prettier.vim @@ -1,5 +1,5 @@ " Author: tunnckoCore (Charlike Mike Reagent) , -" w0rp +" w0rp , morhetz (Pavel Pertsev) " Description: Integration of Prettier with ALE. call ale#Set('javascript_prettier_executable', 'prettier') @@ -8,6 +8,7 @@ call ale#Set('javascript_prettier_options', '') function! ale#fixers#prettier#GetExecutable(buffer) abort return ale#node#FindExecutable(a:buffer, 'javascript_prettier', [ + \ 'node_modules/.bin/prettier_d', \ 'node_modules/prettier-cli/index.js', \ 'node_modules/.bin/prettier', \])