diff options
| author | Lucy Crockett <58056722+lcrockett@users.noreply.github.com> | 2021-05-23 06:41:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-23 06:41:06 +0200 |
| commit | 262347eb104cdc65ada89d5e32bad0e743e91640 (patch) | |
| tree | 58c04a28df82ec731522622eb748bd6abeb0ed81 /lua | |
| parent | [docgen] Update README.md (diff) | |
| download | nvim-lspconfig-262347eb104cdc65ada89d5e32bad0e743e91640.tar nvim-lspconfig-262347eb104cdc65ada89d5e32bad0e743e91640.tar.gz nvim-lspconfig-262347eb104cdc65ada89d5e32bad0e743e91640.tar.bz2 nvim-lspconfig-262347eb104cdc65ada89d5e32bad0e743e91640.tar.lz nvim-lspconfig-262347eb104cdc65ada89d5e32bad0e743e91640.tar.xz nvim-lspconfig-262347eb104cdc65ada89d5e32bad0e743e91640.tar.zst nvim-lspconfig-262347eb104cdc65ada89d5e32bad0e743e91640.zip | |
Fix LspInfo attached client count
Related issue @ https://github.com/neovim/neovim/issues/14618
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/lspinfo.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/lspinfo.lua b/lua/lspconfig/lspinfo.lua index 9588ec6e..31d20a76 100644 --- a/lua/lspconfig/lspinfo.lua +++ b/lua/lspconfig/lspinfo.lua @@ -23,7 +23,7 @@ return function () "Configured servers: "..table.concat(vim.tbl_keys(configs), ', '), "Neovim logs at: "..(vim.lsp.get_log_path()), "", - tostring(#buf_clients).." client(s) attached to this buffer: "..table.concat(buf_client_names, ', '), + tostring(#vim.tbl_keys(buf_clients)).." client(s) attached to this buffer: "..table.concat(buf_client_names, ', '), } vim.list_extend(buf_lines, header) |
