diff options
-rw-r--r-- | autoload/ale/fixers/prettier.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/ale/fixers/prettier.vim b/autoload/ale/fixers/prettier.vim index ae370ac6..7f82ecfd 100644 --- a/autoload/ale/fixers/prettier.vim +++ b/autoload/ale/fixers/prettier.vim @@ -1,5 +1,5 @@ " Author: tunnckoCore (Charlike Mike Reagent) <mameto2011@gmail.com>, -" w0rp <devw0rp@gmail.com> +" w0rp <devw0rp@gmail.com>, morhetz (Pavel Pertsev) <morhetz@gmail.com> " 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', \]) |