style: nix format

This commit is contained in:
Poby 2026-03-14 01:25:38 +09:00
parent 7ceb157457
commit 26b1412b82
No known key found for this signature in database
19 changed files with 108 additions and 92 deletions

View file

@ -1,8 +1,9 @@
{lib, ...}: [
{ lib, ... }:
[
# autocmds
{
enable = true;
event = ["BufReadPost"];
event = [ "BufReadPost" ];
desc = "Return to last cursor position";
group = "LastCursorGroup";
callback = lib.generators.mkLuaInline ''
@ -17,10 +18,10 @@
}
{
enable = true;
event = ["TextYankPost"];
event = [ "TextYankPost" ];
desc = "Highlight yanks on copy";
group = "HighlightYank";
pattern = ["*"];
pattern = [ "*" ];
callback = lib.generators.mkLuaInline ''
function()
vim.hl.on_yank({