summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorTomas Janousek <tomi@nomi.cz>2020-12-02 14:58:35 +0000
committerTomas Janousek <tomi@nomi.cz>2020-12-05 15:29:25 +0000
commit6d7cff9c0062d03c5a2dd1287c2956b81b203eba (patch)
tree08605d0033129c6af9ea0e1337d24c1e07325567 /autoload
parent03b6978a270107b670b0363d50f3eed4b365ba26 (diff)
downloadale-6d7cff9c0062d03c5a2dd1287c2956b81b203eba.zip
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