diff options
author | w0rp <w0rp@users.noreply.github.com> | 2017-05-31 10:02:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-31 10:02:08 +0100 |
commit | e72dc1acd58b6de742ca3fbc69a197549e7c18dd (patch) | |
tree | 023711ed54e4f6506fe722743276c14a1b8e9112 | |
parent | a90cf629958ed0831fd6caf49cafcf9a90092b15 (diff) | |
parent | 5d3236661616a39586d19e2ffd6ef77c216d8e88 (diff) | |
download | ale-e72dc1acd58b6de742ca3fbc69a197549e7c18dd.zip |
Merge pull request #603 from craftgear/feature-make-prettier-option-enable
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, \} |