diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-05-07 19:36:30 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2026-05-07 19:44:33 +0200 |
| commit | b705969b4e44d9626e724cc6e3f78feafe6d62ed (patch) | |
| tree | ebc376de5c785dc880399e6a8499e0f26fd3909a /plugin | |
| parent | docs: AGENTS.md (diff) | |
| download | nvim-lspconfig-b705969b4e44d9626e724cc6e3f78feafe6d62ed.tar nvim-lspconfig-b705969b4e44d9626e724cc6e3f78feafe6d62ed.tar.gz nvim-lspconfig-b705969b4e44d9626e724cc6e3f78feafe6d62ed.tar.bz2 nvim-lspconfig-b705969b4e44d9626e724cc6e3f78feafe6d62ed.tar.lz nvim-lspconfig-b705969b4e44d9626e724cc6e3f78feafe6d62ed.tar.xz nvim-lspconfig-b705969b4e44d9626e724cc6e3f78feafe6d62ed.tar.zst nvim-lspconfig-b705969b4e44d9626e724cc6e3f78feafe6d62ed.zip | |
fix: logic bugs found by AI
1. `plugin/lspconfig.lua`: LspRestart timer was never closed after firing, leaking a libuv handle on every invocation.
2. `lsp/muon.lua`: Formatting cmd (a list) with %s, producing table: 0x... instead of the command.
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/lspconfig.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua index 5db58fbf..38fc5c0a 100644 --- a/plugin/lspconfig.lua +++ b/plugin/lspconfig.lua @@ -158,6 +158,7 @@ if vim.fn.has('nvim-0.11.2') == 1 then for name in vim.iter(client_names) do vim.schedule_wrap(vim.lsp.enable)(name) end + timer:close() end) end, { desc = 'Restart the given client', |
