Skip to content

Commit ebd2f7c

Browse files
committed
Fix trailing characters error when connecting via tcp
1 parent 356254d commit ebd2f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/lsp.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ function! s:ensure_start(buf, server_name, cb) abort
472472
endif
473473

474474
if has_key(l:server_info, 'tcp')
475-
let l:tcp = l:server_info['tcp'](l:server_info)
475+
let l:tcp = l:server_info['tcp']
476476
let l:lsp_id = lsp#client#start({
477477
\ 'tcp': l:tcp,
478478
\ 'on_stderr': function('s:on_stderr', [a:server_name]),

0 commit comments

Comments
 (0)