summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorHoracio Sanson <hsanson@gmail.com>2021-01-13 23:41:34 +0900
committerGitHub <noreply@github.com>2021-01-13 23:41:34 +0900
commit7b187af10abd2f8984e1ca061c30244a8a0bdb60 (patch)
tree90fed949c7bb8af689cd93db5e163bfc12bce377 /autoload
parentaabca5b0ac01cdda0768c84b3dc045b85cb71a6c (diff)
parent6d7cff9c0062d03c5a2dd1287c2956b81b203eba (diff)
downloadale-7b187af10abd2f8984e1ca061c30244a8a0bdb60.zip
Merge pull request #3482 from liskin/lsp-popup-menu-fix
codefix: Fix LSP MenuCallback invocation (E119, not enough args)
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/codefix.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/autoload/ale/codefix.vim b/autoload/ale/codefix.vim
index 69bf36fa..4a78063b 100644
--- a/autoload/ale/codefix.vim
+++ b/autoload/ale/codefix.vim
@@ -261,7 +261,10 @@ function! ale#codefix#HandleLSPResponse(conn_id, response) abort
" Send the results to the menu callback, if set.
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
endif