1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-13 04:21:10 +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,14 +1,10 @@
{
lib,
...
}:
with lib;
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "git-conflict";
package = "git-conflict-nvim";
description = "A plugin to visualise and resolve merge conflicts in neovim.";
maintainers = [ maintainers.GaetanLepage ];
maintainers = [ lib.maintainers.GaetanLepage ];
dependencies = [ "git" ];
@ -22,7 +18,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
settingsOptions = {
default_mappings =
lib.nixvim.defaultNullOpts.mkNullable (with types; either bool (attrsOf str)) true
lib.nixvim.defaultNullOpts.mkNullable (with lib.types; either bool (attrsOf str)) true
''
This plugin offers default buffer local mappings inside conflicted files.
This is primarily because applying these mappings only to relevant buffers is impossible