summaryrefslogtreecommitdiff
path: root/.config/nvim/lua
diff options
context:
space:
mode:
authorAdam <adam.moloney.stuck@gmail.com>2022-05-02 17:54:30 +0200
committeradamstuck <adam.moloney.stuck@gmail.com>2022-05-03 00:43:39 +0200
commit1afa3a885a6d6356ff0417af5fe602d8e97b97f0 (patch)
treedb64fb23db99587a6a31cbbfb4d9cc7959d029fa /.config/nvim/lua
parent545d141bf3e3085e170d68e1683654c867200f57 (diff)
nvim: markdown previewer
Diffstat (limited to '.config/nvim/lua')
-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)