summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-05-02 17:54:30 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2022-05-02 17:54:30 +0200
commit0e19499ddeb4ac32ef208aae658214b41148cd6c (patch)
treefbbb0c22d9929f9bd85c2fb525bcb3d377aa7043 /.config/nvim
parent6676337968ec5788f83efeff590d9150ffd56255 (diff)
nvim: markdown previewer
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/lua/plugins.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index 8d5cc88..1a2c5c3 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -172,6 +172,15 @@ local plugins = {
require "colorizer".setup()
end,
},
+
+ {
+ 'iamcco/markdown-preview.nvim',
+ cmd = { "MarkdownPreview" },
+ ft = {'markdown'},
+ run = function()
+ vim.fn['mkdp#util#install']()
+ end,
+ },
}
return packer.startup(function(use)