Auto: cleanup-2026-05-18T16-56-07Z

This commit is contained in:
2026-05-18 18:56:47 +02:00
parent 21ee9df5fe
commit e2d79fe94c
86 changed files with 481 additions and 736 deletions
+17 -19
View File
@@ -1,6 +1,4 @@
{
config,
pkgs,
pkgs-unstable,
inputs,
...
@@ -21,26 +19,26 @@
enable = true;
force = true;
text = ''
local buffer = import("micro/buffer")
local shell = import("micro/shell")
local buffer = import("micro/buffer")
local shell = import("micro/shell")
function vivifyOpen(buf)
local cursor = buf:GetActiveCursor()
local line = cursor.Loc.Y + 1
function vivifyOpen(buf)
local cursor = buf:GetActiveCursor()
local line = cursor.Loc.Y + 1
shell.ExecCommand("viv", string.format("%s:%d", buf.AbsPath, line))
end
shell.ExecCommand("viv", string.format("%s:%d", buf.AbsPath, line))
end
function onBufferOpen(buf)
if os.getenv("MICRO_VIVIFY") ~= "1" then
return
end
function onBufferOpen(buf)
if os.getenv("MICRO_VIVIFY") ~= "1" then
return
end
-- only run for real files (not help/log/etc)
if buf.Type.Kind == buffer.BTDefault then
vivifyOpen(buf)
end
end
'';
-- only run for real files (not help/log/etc)
if buf.Type.Kind == buffer.BTDefault then
vivifyOpen(buf)
end
end
'';
};
}