aboutsummaryrefslogtreecommitdiff
path: root/lua/muwiki
diff options
context:
space:
mode:
Diffstat (limited to 'lua/muwiki')
-rw-r--r--lua/muwiki/health.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/muwiki/health.lua b/lua/muwiki/health.lua
index fc1c9db..118c1fe 100644
--- a/lua/muwiki/health.lua
+++ b/lua/muwiki/health.lua
@@ -43,6 +43,16 @@ M.check = function()
vim.health.info('Install with: :TSInstall markdown_inline')
vim.health.info('Link detection requires both parsers')
end
+
+ vim.health.start('External Dependencies')
+
+ if vim.fn.executable('xdg-open') == 1 then
+ vim.health.ok('xdg-open is installed')
+ else
+ vim.health.warn('xdg-open is not installed')
+ vim.health.info('xdg-open is required for web and file links')
+ vim.health.info('Alternative: Configure custom handlers - see :help muwiki-autocmd-open-custom')
+ end
end
return M