1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-11 19:41:11 +01:00

treewide: remove old deprecation warnings

This commit is contained in:
Gaetan Lepage 2025-12-07 11:46:51 +01:00 committed by Gaétan Lepage
parent 629f9d75f8
commit 8441008175
72 changed files with 4 additions and 1506 deletions

View file

@ -14,43 +14,6 @@ lib.nixvim.plugins.mkVimPlugin {
maintainers = [ lib.maintainers.GaetanLepage ];
# TODO: Added 2024-12-16; remove after 25.05
optionsRenamedToSettings = import ./renamed-options.nix;
imports =
let
basePluginPath = [
"plugins"
"vim-matchup"
];
in
[
(lib.mkRenamedOptionModule
(
basePluginPath
++ [
"matchParen"
"deffered"
]
)
(
basePluginPath
++ [
"settings"
"matchparen_deferred"
]
)
)
]
++ (lib.nixvim.mkSettingsRenamedOptionModules (basePluginPath ++ [ "treesitterIntegration" ])
(basePluginPath ++ [ "treesitter" ])
[
"enable"
"disable"
"disableVirtualText"
"includeMatchWords"
]
);
extraOptions = {
treesitter = lib.nixvim.mkSettingsOption {
description = ''

View file

@ -1,130 +0,0 @@
[
{
old = "enableSurround";
new = "surround_enabled";
}
{
old = "enableTransmute";
new = "transmute_enabled";
}
"delimStopline"
{
old = "delimNoSkips";
new = "delim_noskips";
}
{
old = [
"motion"
"enable"
];
new = "motion_enabled";
}
{
old = [
"motion"
"cursorEnd"
];
new = "motion_cursor_end";
}
{
old = [
"motion"
"overrideNPercent"
];
new = "motion_override_Npercent";
}
{
old = [
"textObj"
"enable"
];
new = "text_obj_enabled";
}
{
old = [
"textObj"
"linewiseOperators"
];
new = "text_obj_linewise_operators";
}
{
old = [
"matchParen"
"enable"
];
new = "matchparen_enabled";
}
{
old = [
"matchParen"
"fallback"
];
new = "matchparen_fallback";
}
{
old = [
"matchParen"
"singleton"
];
new = "matchparen_singleton";
}
{
old = [
"matchParen"
"offscreen"
];
new = "matchparen_offscreen";
}
{
old = [
"matchParen"
"stopline"
];
new = "matchparen_stopline";
}
{
old = [
"matchParen"
"timeout"
];
new = "matchparen_timeout";
}
{
old = [
"matchParen"
"insertTimeout"
];
new = "matchparen_insert_timeout";
}
{
old = [
"matchParen"
"deferred"
"enable"
];
new = "matchparen_deferred";
}
{
old = [
"matchParen"
"deferred"
"showDelay"
];
new = "matchparen_deferred_show_delay";
}
{
old = [
"matchParen"
"deferred"
"hideDelay"
];
new = "matchparen_deferred_hide_delay";
}
{
old = [
"matchParen"
"hiSurroundAlways"
];
new = "matchparen_deferred_hi_surround_always";
}
]