Merge pull request #603 from craftgear/feature-make-prettier-option-enable

make prettier options enabled
This commit is contained in:
w0rp 2017-05-31 10:02:08 +01:00 committed by GitHub
commit e72dc1acd5
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,
\}