mirror of
https://github.com/danielepintore/dotfiles.git
synced 2026-07-11 16:05:13 +02:00
Replaced packer with lazyvim plugin manager
This commit is contained in:
22
.config/nvim/lua/plugins/vimwiki.lua
Normal file
22
.config/nvim/lua/plugins/vimwiki.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user