feat: migrate old config
This commit is contained in:
1 parent
1a2ce09da2
commit
a593a5aae3
31 files changed
+886
-32
No files matched your search
@@ -1,8 +1,22 @@
|
||||
local full = vim.g.profile == "full"
|
||||
|
||||
return {
|
||||
{
|
||||
-- Inline rendering while editing.
|
||||
"MeanderingProgrammer/render-markdown.nvim",
|
||||
cond = vim.g.profile == "full",
|
||||
cond = full,
|
||||
ft = "markdown",
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
-- Rendered preview in a split. Automatic rendering is off, so it never doubles up with render-markdown.
|
||||
"OXY2DEV/markview.nvim",
|
||||
cond = full,
|
||||
cmd = "Markview",
|
||||
keys = { { "<leader>mp", "<cmd>Markview splitToggle<cr>", desc = "Markdown preview split" } },
|
||||
opts = {
|
||||
preview = { enable = false, filetypes = { "markdown", "typst" } },
|
||||
experimental = { prefer_nvim = true, file_open_command = "tabnew" },
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user