Files
dotfiles/.config/nvim/lua/plugins/vimwiki.lua

23 lines
645 B
Lua

return {
{ "vimwiki/vimwiki",
config = function()
-- Restrict vimwiki to only the path specified in the vimwiki_list global var
vim.g.vimwiki_global_ext = 0
-- Configure a list of vimwiki wiki, need a :PackerCompile to apply
vim.g.vimwiki_list = {
{
path = '~/Documents/cybersecurity/wiki/',
path_html = '~/Documents/cybersecurity/wiki/dist',
template_path = '~/.config/vimwiki/templates/cybersecurity/',
template_default = 'default',
template_ext = 'html',
css_name = 'css/styles.css',
syntax = 'markdown',
ext = '.md',
custom_wiki2html = '~/.config/vimwiki/parse_wiki.py',
},
}
end,
}
}