Closed glassesneo closed 2 months ago
doAction("getItem")
is not needed.
And I have fixed the problem.
vim.api.nvim_create_autocmd("FileType", { pattern = "ddu-filer",
callback = function()
mapAction("n", "q", "quit")
mapMultiActions("n", "j", {{"cursorNext"}, {"preview"}})
mapMultiActions("n", "k", {{"cursorPrevious"}, {"preview"}})
end
})
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
vim.fn["ddu#ui#getItem"]
doesn't workExpected
vim.fn["ddu#ui#getItem"]
worksEnvironment Information
ddu-ui-filer version (SHA1): 447fcdf8a91e5872bc18ef4630ca1c4b35f3039b
denops.vim version (SHA1): 08146a5ba9b0d79ddba46af5f6b3bff2260c4441
deno version(
deno -V
output): deno 1.43.6OS: MacOS Sonoma 14.6.1
neovim/Vim
:version
output: NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713773202Provide a minimal init.vim/vimrc without plugin managers (Required!)
How to reproduce the problem from neovim/Vim startup (Required!)
j
ork
Screenshot (if possible)
None
Upload the log messages by
:redir
and:message
(if errored)