We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a98c2b commit a8e965dCopy full SHA for a8e965d
lib/neovim-plugin.nix
@@ -71,15 +71,7 @@ with lib;
71
++ (optional deprecateExtraOptions (
72
mkRenamedOptionModule (basePluginPath ++ [ "extraOptions" ]) settingsPath
73
))
74
- ++ (map (
75
- option:
76
- let
77
- optionPath = if isString option then [ option ] else option; # option is already a path (i.e. a list)
78
-
79
- optionPathSnakeCase = map helpers.toSnakeCase optionPath;
80
- in
81
- mkRenamedOptionModule (basePluginPath ++ optionPath) (settingsPath ++ optionPathSnakeCase)
82
- ) optionsRenamedToSettings);
+ ++ (nixvim.processRenameOptions optionsRenamedToSettings basePluginPath settingsPath);
83
84
options.${namespace}.${name} =
85
{
0 commit comments