Cover the Rust LSP with tests, allow LSP linters to be named anything, and rename the Rust LSP linter to rls

This commit is contained in:
w0rp
2017-08-02 23:21:30 +01:00
parent 617582c5d3
commit 09d50ebe31
8 changed files with 91 additions and 45 deletions

View File

@@ -222,7 +222,7 @@ function! ale#lsp#HandleMessage(conn, message) abort
" Call all of the registered handlers with the response.
for l:Callback in a:conn.callback_list
call ale#util#GetFunction(l:Callback)(l:response)
call ale#util#GetFunction(l:Callback)(a:conn.id, l:response)
endfor
endif
endfor