Fix initialization of the use_global variable for eslint
This commit is contained in:
parent
71bf2bfb94
commit
2e442a2cab
2 changed files with 2 additions and 5 deletions
|
@ -4,9 +4,6 @@
|
|||
let g:ale_javascript_eslint_options =
|
||||
\ get(g:, 'ale_javascript_eslint_options', '')
|
||||
|
||||
let g:ale_javascript_eslint_use_global =
|
||||
\ get(g:, 'ale_javascript_eslint_use_global', 0)
|
||||
|
||||
function! ale_linters#javascript#eslint#GetCommand(buffer) abort
|
||||
return ale#handlers#eslint#GetExecutable(a:buffer)
|
||||
\ . ' ' . ale#Var(a:buffer, 'javascript_eslint_options')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue