2024-07-29 11:13:03 +00:00
|
|
|
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",
|
|
|
|
}
|
2024-07-27 20:22:59 +00:00
|
|
|
}
|
|
|
|
|
2024-07-29 11:13:03 +00:00
|
|
|
-- disable global markdown hijacking
|
|
|
|
vim.g.vimwiki_global_ext = 0
|
|
|
|
end
|
|
|
|
|
|
|
|
return mymodule
|