aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-12-31 08:03:06 -0800
committerJustin M. Keyes <justinkz@gmail.com>2019-12-31 15:39:17 -0800
commitac6ebfcc1db8daf30533c42d5c4246bb95ec3d85 (patch)
tree15d78f293ae0c86cbc2764265316cd71a6506e53 /runtime/lua/vim/lsp.lua
parent8b841196504f96a5c14126667fb4f4a0769914dd (diff)
downloadrneovim-ac6ebfcc1db8daf30533c42d5c4246bb95ec3d85.tar.gz
rneovim-ac6ebfcc1db8daf30533c42d5c4246bb95ec3d85.tar.bz2
rneovim-ac6ebfcc1db8daf30533c42d5c4246bb95ec3d85.zip
LSP: eliminate lsp.print_debug_info…()
Reduce API surface. We should not add functions unless they are really needed. Users should be nudged to use vim.inspect() directly.
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
-rw-r--r--runtime/lua/vim/lsp.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua
index 670de7a996..c193fad6a4 100644
--- a/runtime/lua/vim/lsp.lua
+++ b/runtime/lua/vim/lsp.lua
@@ -971,19 +971,6 @@ function lsp.buf_get_clients(bufnr)
return result
end
---- Prints debug info about the current buffer clients.
----
---- Result of this function cannot be relied upon and may change.
-function lsp.buf_print_debug_info(bufnr)
- print(vim.inspect(lsp.buf_get_clients(bufnr)))
-end
-
--- Print some debug information about all LSP related things.
--- The output of this function should not be relied upon and may change.
-function lsp.print_debug_info()
- print(vim.inspect({ clients = active_clients }))
-end
-
-- Log level dictionary with reverse lookup as well.
--
-- Can be used to lookup the number from the name or the