chore: forced re-merge
This commit is contained in:
1 file changed
+7
-3
@@ -1,12 +1,16 @@
|
|||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
M.check = function()
|
M.check = function()
|
||||||
vim.health.report_start("zellij-nav.nvim")
|
local start = vim.health.report_start or vim.health.start
|
||||||
|
local report_ok = vim.health.report_ok or vim.health.ok
|
||||||
|
local report_error = vim.health.report_error or vim.health.error
|
||||||
|
|
||||||
|
start("zellij-nav.nvim")
|
||||||
local version = vim.fn.system("zellij --version")
|
local version = vim.fn.system("zellij --version")
|
||||||
if vim.v.shell_error ~= 0 then
|
if vim.v.shell_error ~= 0 then
|
||||||
vim.health.report_error("zellij executable not found in user's path")
|
report_error("zellij executable not found in user's path")
|
||||||
else
|
else
|
||||||
vim.health.report_ok("found zellij version " .. string.gsub(version, "zellij ", ""))
|
report_ok("found zellij version " .. string.gsub(version, "zellij ", ""))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user