Skip to content

Commit

Permalink
chore: plugins de markdown preview #35
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmolinab committed May 3, 2023
1 parent 3eaf06f commit ed9716d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lua/plugins/config/markdown-preview.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
return {
"iamcco/markdown-preview.nvim",
build = "cd app && npm install",
ft = "markdown",
init = function()
vim.api.nvim_set_var("mkdp_auto_close", 0)
vim.api.nvim_set_var("mkdp_refresh_slow", 1)
vim.api.nvim_set_var("mkdp_browser", "edge")
vim.api.nvim_set_var("mkdp_echo_preview_url", 1)
vim.api.nvim_set_var("mkdp_theme", "dark")
end,
}

0 comments on commit ed9716d

Please sign in to comment.