Compare commits

..

No commits in common. "f6500bbd0583ba221fba2e8c57a625414906fbe8" and "8bddf37b43937ca17d8ac27e3e1d0ebf97529a92" have entirely different histories.

3 changed files with 6 additions and 7 deletions

View file

@ -862,11 +862,11 @@
"plugin-lzn-auto-require": { "plugin-lzn-auto-require": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1722727896, "lastModified": 1722716302,
"narHash": "sha256-h7Dx3zBkUYamQY6lcuQrwAMgBpPqskLnA6WsbefHzMU=", "narHash": "sha256-YehBjQ4m3i0yEnts7HhWW78N6g40hblfcl94d7l9aN4=",
"owner": "horriblename", "owner": "horriblename",
"repo": "lzn-auto-require", "repo": "lzn-auto-require",
"rev": "c6b47e148a1ff9709e802f68c2c8b558a9a8de9b", "rev": "57567c9db26a3b5b143ae91f35143c34706e8881",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -94,10 +94,9 @@
}; };
rhs = mkOption { rhs = mkOption {
type = nullOr (either str luaInline); type = nullOr str;
default = null; default = null;
# FIXME: use a separate flag to indicate lua instead of luaInline description = "Action to trigger";
description = "Action to trigger. luaInline code will be wrapped in a function.";
}; };
mode = mkOption { mode = mkOption {

View file

@ -63,7 +63,7 @@
lznSpecs = mapAttrsToList toLuaLznSpec cfg.plugins; lznSpecs = mapAttrsToList toLuaLznSpec cfg.plugins;
in { in {
config.vim = mkIf cfg.enable { config.vim = mkIf cfg.enable {
startPlugins = ["lz-n" "lzn-auto-require"]; startPlugins = ["lz-n"];
optPlugins = mapAttrsToList (_: plugin: plugin.package) cfg.plugins; optPlugins = mapAttrsToList (_: plugin: plugin.package) cfg.plugins;