Auto: cleanup-2026-05-24T10-18-36Z

This commit is contained in:
2026-05-24 12:18:49 +02:00
parent 4dc460dc0c
commit 16c01a5e67
71 changed files with 1770 additions and 1731 deletions
+6 -6
View File
@@ -1,5 +1,5 @@
{ inputs, ... }: {
flake.hostModules.micro = { pkgs-unstable, ... }: {
{inputs, ...}: {
flake.hostModules.micro = {pkgs-unstable, ...}: {
programs.micro = {
enable = true;
package = pkgs-unstable.micro-full;
@@ -18,19 +18,19 @@
text = ''
local buffer = import("micro/buffer")
local shell = import("micro/shell")
function vivifyOpen(buf)
local cursor = buf:GetActiveCursor()
local line = cursor.Loc.Y + 1
shell.ExecCommand("viv", string.format("%s:%d", buf.AbsPath, line))
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)