mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-15 05:21:08 +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,11 +1,10 @@
|
|||
{ lib, ... }:
|
||||
with lib;
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "arrow";
|
||||
package = "arrow-nvim";
|
||||
description = "A Neovim plugin to bookmark and navigate through files.";
|
||||
|
||||
maintainers = [ maintainers.hmajid2301 ];
|
||||
maintainers = [ lib.maintainers.hmajid2301 ];
|
||||
|
||||
settingsOptions = {
|
||||
show_icons = lib.nixvim.defaultNullOpts.mkBool false ''
|
||||
|
|
@ -93,7 +92,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
};
|
||||
|
||||
window =
|
||||
lib.nixvim.defaultNullOpts.mkAttrsOf types.anything
|
||||
lib.nixvim.defaultNullOpts.mkAttrsOf lib.types.anything
|
||||
{
|
||||
relative = "editor";
|
||||
width = "auto";
|
||||
|
|
@ -153,7 +152,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
Keys mapped to bookmark index.
|
||||
'';
|
||||
|
||||
full_path_list = lib.nixvim.defaultNullOpts.mkListOf types.str [ "update_stuff" ] ''
|
||||
full_path_list = lib.nixvim.defaultNullOpts.mkListOf lib.types.str [ "update_stuff" ] ''
|
||||
Filenames on this list will ALWAYS show the file path too
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue