Fix #630 - Initialize Prettier options

This commit is contained in:
w0rp committed 2017-06-07 15:33:41 +01:00
1 parent 7517fd8226
commit 9ee7a6d57c
2 files changed
+2

No files matched your search

+1
View File
@@ -4,6 +4,7 @@
call ale#Set('javascript_prettier_executable', 'prettier')
call ale#Set('javascript_prettier_use_global', 0)
call ale#Set('javascript_prettier_options', '')
function! ale#handlers#prettier#GetExecutable(buffer) abort
return ale#node#FindExecutable(a:buffer, 'javascript_prettier', [
+1
View File
@@ -4,6 +4,7 @@
call ale#Set('javascript_prettier_eslint_executable', 'prettier-eslint')
call ale#Set('javascript_prettier_eslint_use_global', 0)
call ale#Set('javascript_prettier_eslint_options', '')
function! ale#handlers#prettier_eslint#GetExecutable(buffer) abort
return ale#node#FindExecutable(a:buffer, 'javascript_prettier_eslint', [