make prettier options enabled
This commit is contained in:
parent
6fe8105a0e
commit
5d32366616
@ -18,7 +18,7 @@ function! ale#handlers#prettier#Fix(buffer, lines) abort
|
|||||||
return {
|
return {
|
||||||
\ 'command': ale#Escape(ale#handlers#prettier#GetExecutable(a:buffer))
|
\ 'command': ale#Escape(ale#handlers#prettier#GetExecutable(a:buffer))
|
||||||
\ . ' %t'
|
\ . ' %t'
|
||||||
\ . ' ' . ale#Escape(l:options)
|
\ . ' ' . l:options
|
||||||
\ . ' --write',
|
\ . ' --write',
|
||||||
\ 'read_temporary_file': 1,
|
\ 'read_temporary_file': 1,
|
||||||
\}
|
\}
|
||||||
|
@ -18,7 +18,7 @@ function! ale#handlers#prettier_eslint#Fix(buffer, lines) abort
|
|||||||
return {
|
return {
|
||||||
\ 'command': ale#Escape(ale#handlers#prettier_eslint#GetExecutable(a:buffer))
|
\ 'command': ale#Escape(ale#handlers#prettier_eslint#GetExecutable(a:buffer))
|
||||||
\ . ' %t'
|
\ . ' %t'
|
||||||
\ . ' ' . ale#Escape(l:options)
|
\ . ' ' . l:options
|
||||||
\ . ' --write',
|
\ . ' --write',
|
||||||
\ 'read_temporary_file': 1,
|
\ 'read_temporary_file': 1,
|
||||||
\}
|
\}
|
||||||
|
Loading…
Reference in New Issue
Block a user