mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 05:04:28 +08:00
codefix: Fix LSP MenuCallback invocation (E119, not enough args)
This commit is contained in:
@@ -261,7 +261,10 @@ function! ale#codefix#HandleLSPResponse(conn_id, response) abort
|
|||||||
|
|
||||||
" Send the results to the menu callback, if set.
|
" Send the results to the menu callback, if set.
|
||||||
if l:MenuCallback isnot v:null
|
if l:MenuCallback isnot v:null
|
||||||
call l:MenuCallback(map(copy(l:result), '[''lsp'', v:val]'))
|
call l:MenuCallback(
|
||||||
|
\ l:data,
|
||||||
|
\ map(copy(l:result), '[''lsp'', v:val]')
|
||||||
|
\)
|
||||||
|
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user