Open adoyle-h opened 1 year ago
Do you have any plan to implement the completion? I could help to implement it. I just want to use nvim-cmp to complete paths and use the keymaps of nvim-cmp to trigger completion.
I have no plans to add this feature, but it sounds like a great idea if you can get it to work!
Would be awesome!
Would live to see it too <3
I'm using https://github.com/hrsh7th/nvim-cmp and I want to complete paths in input window when add/rename/move/copy the files and directories.
I read the code and find it is not work.
inputs.input
not pass the parametercompletion
.https://github.com/nvim-neo-tree/neo-tree.nvim/blob/20c2f2f5ba083bbb1e37b8bc3d590621434f31e9/lua/neo-tree/sources/filesystem/lib/fs_actions.lua#L334-L383
https://github.com/nvim-neo-tree/neo-tree.nvim/blob/20c2f2f5ba083bbb1e37b8bc3d590621434f31e9/lua/neo-tree/ui/inputs.lua#L32-L53
use_popups_for_input = true
,should_use_popup_input()
istrue
. But there is no handle for completion, and the nui.input has nocompletion
option.Do you have any plan to implement the completion? I could help to implement it. I just want to use nvim-cmp to complete paths and use the keymaps of nvim-cmp to trigger completion.