mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
docs(markdown): doctor: allow for alternate grips
Note that we are pinned to the latest release of `seagle0128/grip-mode`,
which supports¹ alternate grip-like programs, namely `mdopen` and
`go-grip`. Although a specific one can be configured, `grip-mode` will
try and load any of the three (the two mentioned plus `grip`).
I’ve added them in the same order that `grip-mode` searches for them².
¹: https://github.com/seagle0128/grip-mode?tab=readme-ov-file#alternative-markdown-preview-without-accessing-github-api
²: 96a927dce6/grip-mode.el (L177-L179)
This commit is contained in:
@ -18,5 +18,7 @@
|
||||
cmd))))))
|
||||
|
||||
(when (modulep! +grip)
|
||||
(unless (executable-find "grip")
|
||||
(warn! "Couldn't find grip. grip-mode will not work")))
|
||||
(unless (or (executable-find "mdopen")
|
||||
(executable-find "go-grip")
|
||||
(executable-find "grip"))
|
||||
(warn! "Couldn't find the mdopen, go-grip or grip binaries. grip-mode will not work")))
|
||||
|
Reference in New Issue
Block a user