mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/*: use new mkSettingsRenamedOptionModules
This commit is contained in:
parent
0ddf6e39ac
commit
c179d47d3d
37 changed files with 1176 additions and 1510 deletions
|
@ -82,6 +82,13 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
"logging"
|
||||
]
|
||||
"customFilter"
|
||||
{
|
||||
old = "diagnosticsUpdateInInsert";
|
||||
new = [
|
||||
"diagnostics"
|
||||
"update_in_insert"
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
oldHighlightOptions = [
|
||||
|
@ -142,6 +149,10 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
"pickVisible"
|
||||
"pickSelected"
|
||||
"offsetSeparator"
|
||||
{
|
||||
old = "trunkMarker";
|
||||
new = "trunc_marker";
|
||||
}
|
||||
];
|
||||
|
||||
basePluginPath = [
|
||||
|
@ -155,13 +166,6 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
in
|
||||
[
|
||||
(lib.mkRenamedOptionModule (basePluginPath ++ [ "extraOptions" ]) optionsPath)
|
||||
(lib.mkRenamedOptionModule (basePluginPath ++ [ "diagnosticsUpdateInInsert" ]) [
|
||||
"diagnostics"
|
||||
"update_in_insert"
|
||||
])
|
||||
(lib.mkRenamedOptionModule (oldHighlightsPath ++ [ "trunkMarker" ]) (
|
||||
newHighlightsPath ++ [ "trunc_marker" ]
|
||||
))
|
||||
]
|
||||
++ mkSettingsRenamedOptionModules basePluginPath optionsPath oldOptions
|
||||
++ mkSettingsRenamedOptionModules oldHighlightsPath newHighlightsPath oldHighlightOptions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue