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