initial commit

This commit is contained in:
2025-10-14 12:29:46 +02:00
parent 0439bb0ff7
commit 903704e4d7
99 changed files with 8495 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
function preview()
if vim.bo.filetype ~= "markdown" then
return nil
end
vim.cmd("MarkdownPreview")
end
return {
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
build = "cd app && yarn install",
keys = {
{ "<leader>p", preview, desc = "Markdown Preview" },
},
init = function()
vim.g.mkdp_filetypes = { "markdown" }
end,
ft = { "markdown" },
}