This commit is contained in:
RingOfStorms (Joshua Bell) 2025-10-27 21:53:43 -05:00
parent d5b6a69f9a
commit 8a0dd46473
4 changed files with 34 additions and 1 deletions

View file

@ -13,6 +13,16 @@ return {
default_type = "keep",
},
cmd = "Glow",
config = function(_, opts)
-- Check for glow when plugin is first used
if not U.cmd_executable("glow") then
vim.notify(
"'glow' not found on PATH. Install it to use markdown preview.",
vim.log.levels.ERROR
)
end
require("glow").setup(opts)
end,
keys = {
{ "<leader>,m", "<cmd>Glow<cr>", desc = "Markdown preview" },
},