Fix #630 - Initialize Prettier options

This commit is contained in:
w0rp 2017-06-07 15:33:41 +01:00
parent 7517fd8226
commit 9ee7a6d57c
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@
call ale#Set('javascript_prettier_executable', 'prettier')
call ale#Set('javascript_prettier_use_global', 0)
call ale#Set('javascript_prettier_options', '')
function! ale#handlers#prettier#GetExecutable(buffer) abort
return ale#node#FindExecutable(a:buffer, 'javascript_prettier', [

View File

@ -4,6 +4,7 @@
call ale#Set('javascript_prettier_eslint_executable', 'prettier-eslint')
call ale#Set('javascript_prettier_eslint_use_global', 0)
call ale#Set('javascript_prettier_eslint_options', '')
function! ale#handlers#prettier_eslint#GetExecutable(buffer) abort
return ale#node#FindExecutable(a:buffer, 'javascript_prettier_eslint', [