aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-05-22 21:43:27 -0700
committerGitHub <noreply@github.com>2021-05-22 21:43:27 -0700
commit240a9666f791c1eda91290f0b75ce0e428fbb355 (patch)
tree58c04a28df82ec731522622eb748bd6abeb0ed81 /lua
parent[docgen] Update README.md (diff)
parentFix LspInfo attached client count (diff)
downloadnvim-lspconfig-240a9666f791c1eda91290f0b75ce0e428fbb355.tar
nvim-lspconfig-240a9666f791c1eda91290f0b75ce0e428fbb355.tar.gz
nvim-lspconfig-240a9666f791c1eda91290f0b75ce0e428fbb355.tar.bz2
nvim-lspconfig-240a9666f791c1eda91290f0b75ce0e428fbb355.tar.lz
nvim-lspconfig-240a9666f791c1eda91290f0b75ce0e428fbb355.tar.xz
nvim-lspconfig-240a9666f791c1eda91290f0b75ce0e428fbb355.tar.zst
nvim-lspconfig-240a9666f791c1eda91290f0b75ce0e428fbb355.zip
Merge pull request #931 from lcrockett/master
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/lspinfo.lua2
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)