From ebd2f7c5a9db9e6fe3adf0b78eab14afb034d56d Mon Sep 17 00:00:00 2001 From: Karoline Pauls Date: Sat, 7 Sep 2024 15:10:37 +0100 Subject: [PATCH] Fix trailing characters error when connecting via tcp --- autoload/lsp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/lsp.vim b/autoload/lsp.vim index dbb9d77bb..a2edf7061 100644 --- a/autoload/lsp.vim +++ b/autoload/lsp.vim @@ -472,7 +472,7 @@ function! s:ensure_start(buf, server_name, cb) abort endif if has_key(l:server_info, 'tcp') - let l:tcp = l:server_info['tcp'](l:server_info) + let l:tcp = l:server_info['tcp'] let l:lsp_id = lsp#client#start({ \ 'tcp': l:tcp, \ 'on_stderr': function('s:on_stderr', [a:server_name]),