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 a8e965d commit 5aaff84Copy full SHA for 5aaff84
lib/vim-plugin.nix
@@ -86,15 +86,7 @@ with lib;
86
++ (optional (deprecateExtraConfig && createSettingsOption) (
87
mkRenamedOptionModule (basePluginPath ++ [ "extraConfig" ]) settingsPath
88
))
89
- ++ (map (
90
- option:
91
- let
92
- optionPath = if isString option then [ option ] else option; # option is already a path (i.e. a list)
93
-
94
- optionPathSnakeCase = map helpers.toSnakeCase optionPath;
95
- in
96
- mkRenamedOptionModule (basePluginPath ++ optionPath) (settingsPath ++ optionPathSnakeCase)
97
- ) optionsRenamedToSettings);
+ ++ (nixvim.processRenameOptions optionsRenamedToSettings basePluginPath settingsPath);
98
99
config = mkIf cfg.enable (mkMerge [
100
{
0 commit comments