1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-15 05:21:08 +01:00

treewide: remove with lib;

This commit is contained in:
Gaetan Lepage 2025-12-07 12:28:40 +01:00 committed by Gaétan Lepage
parent cd0443e166
commit 629f9d75f8
67 changed files with 276 additions and 338 deletions

View file

@ -1,13 +1,12 @@
{
lib,
...
}:
with lib;
{ lib, ... }:
let
inherit (lib) types literalExpression;
in
lib.nixvim.plugins.mkNeovimPlugin {
name = "sniprun";
description = "A neovim plugin to run lines/blocs of code.";
maintainers = with maintainers; [
maintainers = with lib.maintainers; [
traxys
MattSturgeon
];
@ -147,7 +146,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
'';
type = types.submodule {
freeformType = types.attrsOf types.anything;
options = mapAttrs (optionName: colorOption) {
options = lib.mapAttrs (optionName: colorOption) {
SniprunVirtualTextOk = {
bg = "#66eeff";
fg = "#000000";