1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-14 04:51:11 +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,15 +1,11 @@
{
lib,
...
}:
with lib;
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "comment";
moduleName = "Comment";
package = "comment-nvim";
description = "Smart and powerful comment plugin for Neovim.";
maintainers = [ maintainers.GaetanLepage ];
maintainers = [ lib.maintainers.GaetanLepage ];
settingsOptions = {
padding = lib.nixvim.defaultNullOpts.mkBool true ''
@ -61,7 +57,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
mappings =
lib.nixvim.defaultNullOpts.mkNullable
(
with types;
with lib.types;
either (enum [ false ]) (submodule {
options = {
basic = lib.nixvim.defaultNullOpts.mkBool true ''