Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
23 lines
544 B
Diff
23 lines
544 B
Diff
diff --git a/lua/preview.lua b/lua/preview.lua
|
|
index 6d9875d..729cc70 100644
|
|
--- a/lua/preview.lua
|
|
+++ b/lua/preview.lua
|
|
@@ -28,7 +28,7 @@ local function open_window(file)
|
|
vim.env.MDT_WIDTH = width
|
|
|
|
vim.cmd.vnew()
|
|
- vim.fn.termopen("mdt " .. file)
|
|
+ vim.fn.termopen("@mdt@ " .. file)
|
|
|
|
vim.cmd("setlocal nonumber norelativenumber")
|
|
vim.api.nvim_feedkeys("a", "t", false)
|
|
@@ -49,7 +49,7 @@ end
|
|
function M.setup()
|
|
-- Check if "mdt" is installed
|
|
if vim.fn.executable("mdt") == 0 then
|
|
- install()
|
|
+ -- install()
|
|
end
|
|
|
|
set_cmd()
|