1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-14 13:01:12 +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,16 +1,11 @@
{
lib,
...
}:
with lib;
with lib.nixvim.plugins;
mkVimPlugin {
{ lib, ... }:
lib.nixvim.plugins.mkVimPlugin {
name = "startify";
package = "vim-startify";
globalPrefix = "startify_";
description = "The fancy start screen for Vim.";
maintainers = [ maintainers.GaetanLepage ];
maintainers = [ lib.maintainers.GaetanLepage ];
settingsOptions = import ./settings-options.nix { inherit lib; };

View file

@ -1,5 +1,7 @@
{ lib }:
with lib;
let
inherit (lib) mkOption types;
in
{
session_dir = lib.nixvim.defaultNullOpts.mkStr "~/.vim/session" ''
The directory to save/load sessions to/from.