Did you check docs and existing issues?
:checkhealth opencode output
opencode: 1 ❌ opencode.nvim ~ - OS: Linux 6.17.0-14-generic (x86_64) - nvim version: 0.11.6+ge8b87a554f. - opencode.nvim git commit hash: c5043f810714ca44ca29d3d0d7cfe841447d09cf. - vim.g.opencode_opts: { lsp = { enabled = true } } opencode.nvim [binaries] ~ - ✅ OK opencode available with version 1.2.15. - ✅ OK curl available. - ❌ ERROR Failed to run healthcheck for "opencode" plugin. Exception: ...al/share/nvim/lazy/opencode.nvim/lua/opencode/health.lua:86: attempt to index field 'server' (a nil value)
Describe the bug
Lsp client will plus one more as long as I use :LspRestart or :LspStop then :LspStart. Doesn't affect use but kind of weird
vim.lsp: 7 ⚠️
- LSP log level : WARN
- Log path: /home/bao-nini/.local/state/nvim/lsp.log
- ⚠️ WARNING Log size: 109586 KB
vim.lsp: Active Clients ~
- opencode (id: 1)
- Version: ? (no serverInfo.version response)
- Root directory: nil
- Command: <function @/home/bao-nini/.local/share/nvim/lazy/opencode.nvim/lsp/opencode.lua:233>
- Settings: {}
- Attached buffers: 1
- opencode (id: 3)
- Version: ? (no serverInfo.version response)
- Root directory: nil
- Command: <function @/home/bao-nini/.local/share/nvim/lazy/opencode.nvim/lsp/opencode.lua:233>
- Settings: {}
- Attached buffers: 1
- opencode (id: 5)
- Version: ? (no serverInfo.version response)
- Root directory: nil
- Command: <function @/home/bao-nini/.local/share/nvim/lazy/opencode.nvim/lsp/opencode.lua:233>
- Settings: {}
- Attached buffers: 1
- opencode (id: 7)
- Version: ? (no serverInfo.version response)
- Root directory: nil
- Command: <function @/home/bao-nini/.local/share/nvim/lazy/opencode.nvim/lsp/opencode.lua:233>
- Settings: {}
- Attached buffers: 1
- lua_ls (id: 9)
Steps To Reproduce
Use :LspRestart
Expected Behavior
the lsp function should be terminated then restart, Only 1 Lsp exist is expected
Did you check docs and existing issues?
:checkhealth opencodeoutputopencode: 1 ❌ opencode.nvim ~ - OS: Linux 6.17.0-14-generic (x86_64) -
nvimversion:0.11.6+ge8b87a554f. -opencode.nvimgit commit hash:c5043f810714ca44ca29d3d0d7cfe841447d09cf. -vim.g.opencode_opts: { lsp = { enabled = true } } opencode.nvim [binaries] ~ - ✅ OKopencodeavailable with version1.2.15. - ✅ OKcurlavailable. - ❌ ERROR Failed to run healthcheck for "opencode" plugin. Exception: ...al/share/nvim/lazy/opencode.nvim/lua/opencode/health.lua:86: attempt to index field 'server' (a nil value)Describe the bug
Lsp client will plus one more as long as I use
:LspRestartor:LspStopthen:LspStart. Doesn't affect use but kind of weirdvim.lsp: 7⚠️
vim.lsp: Active Clients ~
Steps To Reproduce
Use
:LspRestartExpected Behavior
the lsp function should be terminated then restart, Only 1 Lsp exist is expected