Fix #630 - Initialize Prettier options
This commit is contained in:
parent
7517fd8226
commit
9ee7a6d57c
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
call ale#Set('javascript_prettier_executable', 'prettier')
|
call ale#Set('javascript_prettier_executable', 'prettier')
|
||||||
call ale#Set('javascript_prettier_use_global', 0)
|
call ale#Set('javascript_prettier_use_global', 0)
|
||||||
|
call ale#Set('javascript_prettier_options', '')
|
||||||
|
|
||||||
function! ale#handlers#prettier#GetExecutable(buffer) abort
|
function! ale#handlers#prettier#GetExecutable(buffer) abort
|
||||||
return ale#node#FindExecutable(a:buffer, 'javascript_prettier', [
|
return ale#node#FindExecutable(a:buffer, 'javascript_prettier', [
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
call ale#Set('javascript_prettier_eslint_executable', 'prettier-eslint')
|
call ale#Set('javascript_prettier_eslint_executable', 'prettier-eslint')
|
||||||
call ale#Set('javascript_prettier_eslint_use_global', 0)
|
call ale#Set('javascript_prettier_eslint_use_global', 0)
|
||||||
|
call ale#Set('javascript_prettier_eslint_options', '')
|
||||||
|
|
||||||
function! ale#handlers#prettier_eslint#GetExecutable(buffer) abort
|
function! ale#handlers#prettier_eslint#GetExecutable(buffer) abort
|
||||||
return ale#node#FindExecutable(a:buffer, 'javascript_prettier_eslint', [
|
return ale#node#FindExecutable(a:buffer, 'javascript_prettier_eslint', [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user