diff options
author | Tomas Janousek <tomi@nomi.cz> | 2020-12-02 14:58:35 +0000 |
---|---|---|
committer | Tomas Janousek <tomi@nomi.cz> | 2020-12-05 15:29:25 +0000 |
commit | 6d7cff9c0062d03c5a2dd1287c2956b81b203eba (patch) | |
tree | 08605d0033129c6af9ea0e1337d24c1e07325567 /autoload | |
parent | 03b6978a270107b670b0363d50f3eed4b365ba26 (diff) | |
download | ale-6d7cff9c0062d03c5a2dd1287c2956b81b203eba.zip |
codefix: Fix LSP MenuCallback invocation (E119, not enough args)
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/codefix.vim | 5 |
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 |