neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 3c4acc0f1a2ba3c54e858283cf949e28079eb379
parent 73ee507317e705d12efc005c121eeffa15ce0bdf
Author: Riley Bruins <ribru17@hotmail.com>
Date:   Tue, 21 Oct 2025 07:16:19 -0700

fix(lsp): noisy log message when enabling server without config #36264

This warning doesn't really make sense, since the `enable()` call is
meant to be run before the `lsp.config` calls. It will be logged many
times (once for each enabled LSP) at startup.

This is especially annoying because calling `enable()` after
configuration causes the first opened buffer not to have its filetype
set in some situations. This is a separate bug which really needs to be
fixed, and makes this superfluous logging more likely.
Diffstat:
Mruntime/lua/vim/lsp.lua | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua @@ -376,7 +376,6 @@ lsp.config = setmetatable({ _configs = {} }, { end if not rtp_config and not self._configs[name] then - log.warn(('%s does not have a configuration'):format(name)) return end