diff options
author | Shunsuke Watanabe <craftgear@gmail.com> | 2017-05-31 11:48:20 +0900 |
---|---|---|
committer | Shunsuke Watanabe <craftgear@gmail.com> | 2017-05-31 11:48:20 +0900 |
commit | 5d3236661616a39586d19e2ffd6ef77c216d8e88 (patch) | |
tree | 5a3fb2e58630941eb6b8fd546f273ef0f9943ef7 | |
parent | 6fe8105a0e42b8b25a2df83a801e6478fdbe3b58 (diff) | |
download | ale-5d3236661616a39586d19e2ffd6ef77c216d8e88.zip |
make prettier options enabled
-rw-r--r-- | autoload/ale/handlers/prettier.vim | 2 | ||||
-rw-r--r-- | autoload/ale/handlers/prettier_eslint.vim | 2 |
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, \} |