aboutsummaryrefslogtreecommitdiff
path: root/lua/muwiki/health.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/muwiki/health.lua')
-rw-r--r--lua/muwiki/health.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/muwiki/health.lua b/lua/muwiki/health.lua
index a118cc8..2dfd45b 100644
--- a/lua/muwiki/health.lua
+++ b/lua/muwiki/health.lua
@@ -1,5 +1,5 @@
-local fs = require('muwiki.fs')
+local io_module = require('muwiki.io')
local M = {}
@@ -26,7 +26,7 @@ M.check = function()
vim.health.info('Add to your config: dirs = {{name = "default", path = "~/wiki"}}')
else
for _, dir in ipairs(cfg.dirs) do
- if fs.dir_exists(dir.path) then
+ if io_module.dir_exists(dir.path) then
vim.health.ok(string.format("Wiki '%s': %s", dir.name, dir.path))
else
vim.health.warn(string.format("Wiki '%s': %s (not found)", dir.name, dir.path))