Skip to content

bug: Ask not working anymore #193

@Shinzu

Description

@Shinzu

Did you check docs and existing issues?

  • I have read the plugin docs
  • I have read the opencode docs
  • I have searched the existing plugin issues
  • I have searched the existing opencode issues

:checkhealth opencode output

============================================================================== opencode: ✅ opencode.nvim ~ - OS: Linux 6.8.0-101-generic (x86_64) - nvim version: 0.11.5+g9fa7c0a046. - opencode.nvim git commit hash: 68ad02666cf050a79ae16e1b3a4df2766e0c012f. - vim.g.opencode_opts: {} opencode.nvim [binaries] ~ - ✅ OK opencode available with version 1.2.15. - ✅ OK curl available. - ✅ OK pgrep available. - ✅ OK lsof available. opencode.nvim [snacks] ~ - ✅ OK snacks.input is enabled: ask() will be enhanced. - ✅ OK snacks.picker is enabled: select() will be enhanced.

Describe the bug

Whenever i try to ask (via keybind) following error occurs and no ask "window" opens:

...hare/nvim/lazy/opencode.nvim/lua/opencode/cli/client.lua:53: attempt to concatenate local 'port' (a nil value)

when using the mentioned snacks customization also some new opencode terminals open with the same error message

Steps To Reproduce

toggle opencode in nvim

ask via keybind

Expected Behavior

toggle opencode

ask via keybind opens ask window

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions