add markdown preview
This commit is contained in:
parent
46d493db65
commit
ae9fc10678
4 changed files with 47 additions and 36 deletions
11
lua/custom/plugins/markdown_preview.lua
Normal file
11
lua/custom/plugins/markdown_preview.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
-- if does not work, go manually in the folder .local/share/nvim/site/pack/packer/start/markdown-preview.nvim/app and run yarn install
|
||||
|
||||
return {
|
||||
"iamcco/markdown-preview.nvim",
|
||||
run = "cd app && yarn install",
|
||||
setup = function()
|
||||
vim.g.mkdp_filetypes = {
|
||||
"markdown" }
|
||||
end,
|
||||
ft = { "markdown" }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue