🔧 Overhaul for performance
This commit is contained in:
parent
9e1b046074
commit
6365ecfe66
37 changed files with 487 additions and 345 deletions
11
.config/nvim/lua/plugins/markdownpreview.lua
Normal file
11
.config/nvim/lua/plugins/markdownpreview.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
return {
|
||||
"iamcco/markdown-preview.nvim",
|
||||
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
|
||||
build = "cd app && npm install && git restore .",
|
||||
-- or if you use yarn: (I have not checked this, I use npm)
|
||||
-- build = "cd app && yarn install && git restore .",
|
||||
init = function()
|
||||
vim.g.mkdp_filetypes = { "markdown" }
|
||||
end,
|
||||
ft = { "markdown" },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue