diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 8f805255b3..77cede0d59 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -2542,7 +2542,6 @@ The `vim.lsp.log` module provides logging for the Nvim LSP client. When debugging language servers, it is helpful to enable extra-verbose logging of the LSP client RPC events. Example: >lua vim.lsp.log.set_level 'trace' - vim.lsp.log.set_format_func(vim.inspect) < Then try to run the language server, and open the log with: >vim diff --git a/runtime/lua/vim/lsp/log.lua b/runtime/lua/vim/lsp/log.lua index beab643191..2e94fde96f 100644 --- a/runtime/lua/vim/lsp/log.lua +++ b/runtime/lua/vim/lsp/log.lua @@ -5,7 +5,6 @@ --- RPC events. Example: --- ```lua --- vim.lsp.log.set_level 'trace' ---- vim.lsp.log.set_format_func(vim.inspect) --- ``` --- --- Then try to run the language server, and open the log with: