How to enable completion in nui component buffer #45
Unanswered
WizardStark
asked this question in
Q&A
Replies: 1 comment
-
I just needed directory completion, and so I used nvim's omnifunc with feedkeys to achieve this solution:
Still curious if there is another solution. |
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.
-
One of the usecases I have would be greatly enhanced with the ability to have autocompletion in these buffers, for instance this is what I currently have using
vim.ui.input
:And that nested input with directory completion saves me very much trouble.
Can this be done, and if so, how? Could even be using something like
nvim-cmp
using thepath
source, not sure what would be easier.And then: boy does this library make it easy to create stunning ui's, its awesome.
Beta Was this translation helpful? Give feedback.
All reactions