Skip to content

feature: reference rules in ask #157

@garma-a

Description

@garma-a

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: require("opencode.health").check() opencode.nvim ~ - OS: Linux 6.14.0-37-generic (x86_64) - nvim version: 0.11.0+ga99c469e54. - opencode.nvim git commit hash: ed2a936b163df9e92ef210daad3a9ae89ca7e073. - vim.g.opencode_opts: { events = { reload = true }, port = 12000, provider = { cmd = "env OPENCODE_DISABLE_FILETIME_CHECK=true opencode --port", enabled = false, snacks = { win = { width = 0 } }, terminal = { width = 0 } } } opencode.nvim [binaries] ~ - OK opencode available with version 1.1.48. - OK curl available. opencode.nvim [snacks] ~ - OK snacks.input is enabled: ask() will be enhanced. - OK snacks.picker is enabled: select() will be enhanced. opencode.nvim [providers] ~ - WARNING No opencode provider configured. - OK The snacks provider is available. - WARNING The kitty provider is not available — KITTY_LISTEN_ON environment variable is not set. - ADVICE: - Enable remote control in kitty. - WARNING The wezterm provider is not available — wezterm executable not found in $PATH. - ADVICE: - Install wezterm and ensure it's in your $PATH. - WARNING The tmux provider is not available — Not running in a tmux session. - ADVICE: - Launch Neovim in a tmux session. - OK The terminal provider is available.

Describe the bug

in normal terminal session i can use the / command to reference my context files often located in
~/.config/opencode/commands but for some reason inside the inline prompt using this plugin i cannot use the **/ ** letter to reference any thing

Steps To Reproduce

  1. open neovim
  2. try to excute or open inline ask
  3. try to type / followed by the file name for your context files

Expected Behavior

it should work as normal TUI opencode's session so i can reference my context files and inject them to the current prompt

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions