serenevoid / kiwi.nvim

A stripped down VimWiki for Neovim
https://serenevoid.github.io/blog/my-note-taking-plugin
GNU General Public License v3.0
178 stars 9 forks source link

failed to run `config` for kiwi.nvim path.lua not found #18

Closed tokisuno closed 4 months ago

tokisuno commented 5 months ago

image

my config located in "~/.config/nvim/lua/lucas/lazy/kiwi.lua"

return {
    'serenevoid/kiwi.nvim',
    opts = {
        {
            name = "todo",
            path = "~/Sync/todo"
        },
        {
            name = "zet",
            path = "~/Sync/zet"
        }
    },
    keys = {
        { "<leader>ww", ":lua require(\"kiwi\").open_wiki_index()<cr>", desc = "Open Wiki index" },
        { "<leader>wp", ":lua require(\"kiwi\").open_wiki_index(\"todo\")<cr>", desc = "Open index of personal wiki" },
        { "<C-Enter>", ":lua require(\"kiwi\").todo.toggle()<cr>", desc = "Toggle Markdown Task" }
    },
    lazy = true
}
serenevoid commented 5 months ago

Try adding nvim-lua/plenary.nvim as a dependency in the setup. Please let me know if this worked. @tokisuno

serenevoid commented 4 months ago

Closing the issue assuming that this fix resolved the issue.