aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/nvim/lua/custom/plugins/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config/nvim/lua/custom/plugins/init.lua')
-rw-r--r--home/.config/nvim/lua/custom/plugins/init.lua11
1 files changed, 2 insertions, 9 deletions
diff --git a/home/.config/nvim/lua/custom/plugins/init.lua b/home/.config/nvim/lua/custom/plugins/init.lua
index 9f2222b..3483705 100644
--- a/home/.config/nvim/lua/custom/plugins/init.lua
+++ b/home/.config/nvim/lua/custom/plugins/init.lua
@@ -108,16 +108,9 @@ return {
},
{
"iamcco/markdown-preview.nvim",
+ cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
build = "cd app && yarn install",
- ft = "markdown",
- config = function()
- vim.api.nvim_command([[
- function! g:OpenNewWindow(url)
- silent exec "Start! librewolf --new-window " . a:url
- endfunction
- ]])
- vim.g.mkdp_browserfunc = "g:OpenNewWindow"
- end,
+ ft = { "markdown" },
},
"gpanders/editorconfig.nvim",
{