This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/neovim/vimwiki.lua

20 lines
365 B
Lua

local mymodule = {}
function mymodule.setup(path)
vim.g.vimwiki_list = {
{
path = path,
syntax = "markdown",
ext = ".md",
path_html = "~/vimwiki_html",
custom_wiki2html = "vimwiki_markdown",
diary_frequency = "monthly",
}
}
-- disable global markdown hijacking
vim.g.vimwiki_global_ext = 0
end
return mymodule