summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/ale/handlers/prettier.vim2
-rw-r--r--autoload/ale/handlers/prettier_eslint.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/autoload/ale/handlers/prettier.vim b/autoload/ale/handlers/prettier.vim
index f1982ca6..76548506 100644
--- a/autoload/ale/handlers/prettier.vim
+++ b/autoload/ale/handlers/prettier.vim
@@ -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,
\}
diff --git a/autoload/ale/handlers/prettier_eslint.vim b/autoload/ale/handlers/prettier_eslint.vim
index 8a2c71e1..57120e1e 100644
--- a/autoload/ale/handlers/prettier_eslint.vim
+++ b/autoload/ale/handlers/prettier_eslint.vim
@@ -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,
\}