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:
parent
cd0443e166
commit
629f9d75f8
67 changed files with 276 additions and 338 deletions
|
|
@ -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 ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue