Load references from custom prompt slash command #1379
petobens
started this conversation in
Enhancements
Replies: 2 comments
-
Important If your issue does NOT contain a valid Thanks @petobens. I'll get to this as soon as I can. In the meantime, please ensure:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't think I ever added in the ability to load references via the slash command and I do think as a user who writes a prompt library item that is accessed via a slash command, that this should just work. I'll mark this as an enhancement for the community to pickup. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Did you check the docs and existing issues?
Neovim version (nvim -v)
NVIM v0.12.0-dev-288+g6b233cd1a1
Operating system/version
Arch Linux
Describe the bug
If is set
is_slash_cmd = true
in a custom prompt that loads references and then call that prompt from a slash cmd the references are not loadedSteps To Reproduce
As in the GIF:
foo.py
file is simply something like:CodeCompanionActions
and select theTest References
custom promptgd
to check that references were correctly loaded:CodeCompanionChat
test_references
and press<CR>
to execute the slash cmdgd
and check that references are not loaded now.Expected Behavior
I expect references to load with the slash_cmd since the custom prompt defines those references
init.lua file
Log output
No response
Have you provided and tested with a repro.lua file?
Beta Was this translation helpful? Give feedback.
All reactions