nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/lua/preview.lua b/lua/preview.lua
2index 6d9875d..729cc70 100644
3--- a/lua/preview.lua
4+++ b/lua/preview.lua
5@@ -28,7 +28,7 @@ local function open_window(file)
6 vim.env.MDT_WIDTH = width
7
8 vim.cmd.vnew()
9- vim.fn.termopen("mdt " .. file)
10+ vim.fn.termopen("@mdt@ " .. file)
11
12 vim.cmd("setlocal nonumber norelativenumber")
13 vim.api.nvim_feedkeys("a", "t", false)
14@@ -49,7 +49,7 @@ end
15 function M.setup()
16 -- Check if "mdt" is installed
17 if vim.fn.executable("mdt") == 0 then
18- install()
19+ -- install()
20 end
21
22 set_cmd()