-- return {
--   "vimwiki/vimwiki",
--   event = "BufEnter *.md",
--   -- The keys that trigger the plugin
--   keys = { "<leader>ww", "<leader>wt" },
--   init = function()
--     vim.g.vimwiki_list = {
--       {
--         path = "~/notes/",
--         -- The syntax for the wiki
--         syntax = "markdown",
--         ext = "md",
--       },
--     }
--     --    vim.g.vimwiki_ext2syntax = {}
--   end,
-- }
--
return {
  "serenevoid/kiwi.nvim",
  opts = {
    {
      name = "notes",
      path = "~/notes",
    },
  },
  keys = {
    { "<leader>ww", ':lua require("kiwi").open_wiki_index()<cr>', desc = "Open Wiki index" },
  },
  lazy = true,
}