Skip to content

Commit

Permalink
Fix trailing characters error when connecting via tcp
Browse files Browse the repository at this point in the history
  • Loading branch information
karolinepauls committed Sep 7, 2024
1 parent 356254d commit ebd2f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/lsp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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]),
Expand Down

0 comments on commit ebd2f7c

Please sign in to comment.