aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorMatthew Hughes <matthewhughes934@gmail.com>2026-05-01 07:28:22 +1000
committerGitHub <noreply@github.com>2026-04-30 14:28:22 -0700
commit578727c25ec084dd3734d4c5f166e0cb4e3e0a70 (patch)
treeff9f562b7c4adfe49f21ad1f12ab9ac6e4e647c3 /runtime/lua/vim/provider/python.lua
parent83ee06463b94895d024a69f2d7a03abe16f6147c (diff)
downloadrneovim-578727c25ec084dd3734d4c5f166e0cb4e3e0a70.tar.gz
rneovim-578727c25ec084dd3734d4c5f166e0cb4e3e0a70.tar.bz2
rneovim-578727c25ec084dd3734d4c5f166e0cb4e3e0a70.zip
docs: Update instructions for debugging LSP (#39527)
docs: update instructions for debugging LSP Previously, it was suggested to set: vim.lsp.log.set_format_func(vim.inspect) This made sense before f72c13341afb3e2459202d3f6e57cd00614c2ab5, when `format_func` was called once per argument being logged, but since that commit it's called with the log level followed by the other args, so the suggested setting would call `vim.inspect(log_level, ....)` which would just print the human readable name of the current log level and no other details, for example with this set I saw in my logs: "DEBUG""DEBUG""DEBUG""DEBUG" Instead just rely on the default formatter, which will: > ... log the level, date, source and line number of the caller, followed by the arguments.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions