feat(nvim): add guard-nvim

This commit is contained in:
Moritz Böhme 2023-10-08 12:01:07 +02:00
parent d943ab8b6d
commit 11a779c036
Signed by: moritz
GPG key ID: 970C6E89EB0547A9
4 changed files with 28 additions and 0 deletions

View file

@ -352,6 +352,19 @@
"type": "github" "type": "github"
} }
}, },
"guard-nvim": {
"flake": false,
"locked": {
"lastModified": 1696758991,
"narHash": "sha256-gT0OybqOuYBRqUhkjh+AfM1I2p0rs1EzMylI9CreheQ=",
"path": "/home/moritz/Devel/Lua/guard.nvim",
"type": "path"
},
"original": {
"path": "/home/moritz/Devel/Lua/guard.nvim",
"type": "path"
}
},
"haskell-flake": { "haskell-flake": {
"locked": { "locked": {
"lastModified": 1684780604, "lastModified": 1684780604,
@ -1029,6 +1042,7 @@
"disko": "disko", "disko": "disko",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"guard-nvim": "guard-nvim",
"hmts-nvim": "hmts-nvim", "hmts-nvim": "hmts-nvim",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"hypr-contrib": "hypr-contrib", "hypr-contrib": "hypr-contrib",

View file

@ -48,6 +48,8 @@
telekasten-nvim.url = "github:renerocksai/telekasten.nvim"; telekasten-nvim.url = "github:renerocksai/telekasten.nvim";
telescope-nvim.flake = false; telescope-nvim.flake = false;
telescope-nvim.url = "github:nvim-telescope/telescope.nvim"; telescope-nvim.url = "github:nvim-telescope/telescope.nvim";
guard-nvim.flake = false;
guard-nvim.url = "/home/moritz/Devel/Lua/guard.nvim";
# Hyprland # Hyprland
hypr-contrib.url = "github:hyprwm/contrib"; hypr-contrib.url = "github:hyprwm/contrib";

View file

@ -304,5 +304,11 @@ with builtins;
plugin = nvim-puppeteer; plugin = nvim-puppeteer;
lazy = false; # NOTE: plugin lazy-loads itself. lazy = false; # NOTE: plugin lazy-loads itself.
} }
{
# TODO: replace formatter-nvim with this as well
plugin = guard-nvim;
lazy = false;
conf = readFile ./lua/guard.lua;
}
]; ];
} }

View file

@ -51,5 +51,11 @@ with lib.my;
version = mkVersionInput inputs.nvim-puppeteer; version = mkVersionInput inputs.nvim-puppeteer;
src = inputs.nvim-puppeteer; src = inputs.nvim-puppeteer;
}; };
guard-nvim = prev.vimUtils.buildVimPluginFrom2Nix {
pname = "guard-nvim";
version = mkVersionInput inputs.guard-nvim;
src = inputs.guard-nvim;
};
}; };
} }