Merge pull request #885 from morhetz/add-prettier-d-fixer
Add prettier_d fixer path
This commit is contained in:
commit
87fb72346a
1 changed files with 2 additions and 1 deletions
|
@ -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',
|
||||
\])
|
||||
|
|
Reference in a new issue