Merge pull request #603 from craftgear/feature-make-prettier-option-enable
make prettier options enabled
This commit is contained in:
commit
e72dc1acd5
@ -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