mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 21:44:47 +08:00
Fix #630 - Initialize Prettier options
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
call ale#Set('javascript_prettier_executable', 'prettier')
|
call ale#Set('javascript_prettier_executable', 'prettier')
|
||||||
call ale#Set('javascript_prettier_use_global', 0)
|
call ale#Set('javascript_prettier_use_global', 0)
|
||||||
|
call ale#Set('javascript_prettier_options', '')
|
||||||
|
|
||||||
function! ale#handlers#prettier#GetExecutable(buffer) abort
|
function! ale#handlers#prettier#GetExecutable(buffer) abort
|
||||||
return ale#node#FindExecutable(a:buffer, 'javascript_prettier', [
|
return ale#node#FindExecutable(a:buffer, 'javascript_prettier', [
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
call ale#Set('javascript_prettier_eslint_executable', 'prettier-eslint')
|
call ale#Set('javascript_prettier_eslint_executable', 'prettier-eslint')
|
||||||
call ale#Set('javascript_prettier_eslint_use_global', 0)
|
call ale#Set('javascript_prettier_eslint_use_global', 0)
|
||||||
|
call ale#Set('javascript_prettier_eslint_options', '')
|
||||||
|
|
||||||
function! ale#handlers#prettier_eslint#GetExecutable(buffer) abort
|
function! ale#handlers#prettier_eslint#GetExecutable(buffer) abort
|
||||||
return ale#node#FindExecutable(a:buffer, 'javascript_prettier_eslint', [
|
return ale#node#FindExecutable(a:buffer, 'javascript_prettier_eslint', [
|
||||||
|
|||||||
Reference in New Issue
Block a user