replace vimwiki with mkdnflow

This commit is contained in:
Noah Masur
2022-10-22 14:29:50 +00:00
parent cd204f5ac3
commit f6096e3472
4 changed files with 32 additions and 36 deletions

View File

@ -29,7 +29,37 @@ M.packer = function(use)
})
-- Markdown renderer / wiki notes
use("vimwiki/vimwiki")
-- use("vimwiki/vimwiki")
use({
"jakewvincent/mkdnflow.nvim",
config = function()
require("mkdnflow").setup({
modules = {
bib = false,
conceal = true,
folds = false,
},
perspective = {
priority = "current",
fallback = "first",
nvim_wd_heel = false, -- Don't change working dir
},
links = {
style = "markdown",
conceal = true,
},
wrap = true,
to_do = {
symbols = { " ", "-", "x" },
},
})
-- Save when moving to new buffer
vim.api.nvim_create_autocmd("FileType", {
pattern = "markdown",
command = "set autowriteall",
})
end,
})
end
return M