mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-16 15:30:50 +00:00
Compare commits
3 commits
2d16be3ceb
...
7e10870363
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e10870363 |
||
|
|
132d83e588 |
||
|
|
d1c410b3ff |
2 changed files with 11 additions and 9 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -879,11 +879,11 @@
|
||||||
"plugin-lz-n": {
|
"plugin-lz-n": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1727574854,
|
"lastModified": 1729525284,
|
||||||
"narHash": "sha256-qDWNleR2NHFkiEKE/+LNVOBRwEeskMC4dWTl5BTyZuE=",
|
"narHash": "sha256-fk+ejqcqqOQz3q4D3VB2Q+U/6wCpCDk1tiDMp2YrPNE=",
|
||||||
"owner": "nvim-neorocks",
|
"owner": "nvim-neorocks",
|
||||||
"repo": "lz.n",
|
"repo": "lz.n",
|
||||||
"rev": "470173e3cbef763c6d1b918f3f129b67db75e1f8",
|
"rev": "ffd9991400ba7137f4fa8560ff50bccd7f8fb3ee",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{lib, ...}: let
|
{lib, ...}: let
|
||||||
inherit (lib.options) mkOption mkEnableOption;
|
inherit (lib.options) mkOption mkEnableOption;
|
||||||
inherit (lib.types) enum listOf submodule nullOr str bool int attrsOf anything either oneOf;
|
inherit (lib.types) enum listOf submodule nullOr str bool int attrsOf anything either oneOf lines;
|
||||||
inherit (lib.nvim.types) pluginType;
|
inherit (lib.nvim.types) pluginType;
|
||||||
inherit (lib.nvim.config) mkBool;
|
inherit (lib.nvim.config) mkBool;
|
||||||
|
|
||||||
|
|
@ -76,19 +76,19 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
beforeAll = mkOption {
|
beforeAll = mkOption {
|
||||||
type = nullOr str;
|
type = nullOr lines;
|
||||||
description = "Lua code to run before any plugins are loaded. This will be wrapped in a function.";
|
description = "Lua code to run before any plugins are loaded. This will be wrapped in a function.";
|
||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
before = mkOption {
|
before = mkOption {
|
||||||
type = nullOr str;
|
type = nullOr lines;
|
||||||
description = "Lua code to run before plugin is loaded. This will be wrapped in a function.";
|
description = "Lua code to run before plugin is loaded. This will be wrapped in a function.";
|
||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
after = mkOption {
|
after = mkOption {
|
||||||
type = nullOr str;
|
type = nullOr lines;
|
||||||
description = ''
|
description = ''
|
||||||
Lua code to run after plugin is loaded. This will be wrapped in a function.
|
Lua code to run after plugin is loaded. This will be wrapped in a function.
|
||||||
|
|
||||||
|
|
@ -160,6 +160,8 @@
|
||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
lazy = mkBool false "Lazy-load manually, e.g. using `trigger_load`.";
|
||||||
|
|
||||||
priority = mkOption {
|
priority = mkOption {
|
||||||
type = nullOr int;
|
type = nullOr int;
|
||||||
description = "Only useful for stat plugins (not lazy-loaded) to force loading certain plugins first.";
|
description = "Only useful for stat plugins (not lazy-loaded) to force loading certain plugins first.";
|
||||||
|
|
@ -167,12 +169,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
load = mkOption {
|
load = mkOption {
|
||||||
type = nullOr str;
|
type = nullOr lines;
|
||||||
default = null;
|
default = null;
|
||||||
description = ''
|
description = ''
|
||||||
Lua code to override the `vim.g.lz_n.load()` function for a single plugin.
|
Lua code to override the `vim.g.lz_n.load()` function for a single plugin.
|
||||||
|
|
||||||
This will be wrapped in a function
|
This will be wrapped in a function.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue