make prettier options enabled

This commit is contained in:
Shunsuke Watanabe 2017-05-31 11:48:20 +09:00
parent 6fe8105a0e
commit 5d32366616
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ function! ale#handlers#prettier#Fix(buffer, lines) abort
return {
\ 'command': ale#Escape(ale#handlers#prettier#GetExecutable(a:buffer))
\ . ' %t'
\ . ' ' . ale#Escape(l:options)
\ . ' ' . l:options
\ . ' --write',
\ 'read_temporary_file': 1,
\}

View File

@ -18,7 +18,7 @@ function! ale#handlers#prettier_eslint#Fix(buffer, lines) abort
return {
\ 'command': ale#Escape(ale#handlers#prettier_eslint#GetExecutable(a:buffer))
\ . ' %t'
\ . ' ' . ale#Escape(l:options)
\ . ' ' . l:options
\ . ' --write',
\ 'read_temporary_file': 1,
\}