mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-09 18:41:07 +01:00
treewide: remove old deprecation warnings
This commit is contained in:
parent
629f9d75f8
commit
8441008175
72 changed files with 4 additions and 1506 deletions
|
|
@ -158,15 +158,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
};
|
||||
};
|
||||
|
||||
# TODO: introduced 2025-05-17: remove after 25.11
|
||||
imports = [
|
||||
(lib.mkRemovedOptionModule [
|
||||
"plugins"
|
||||
"copilot-lua"
|
||||
"nodePackage"
|
||||
] "Use `dependencies.nodejs.package` instead to change the Node.js package.")
|
||||
];
|
||||
|
||||
extraConfig = {
|
||||
assertions = lib.nixvim.mkAssertions "plugins.copilot-lua" {
|
||||
assertion = !config.plugins.copilot-vim.enable;
|
||||
|
|
@ -181,8 +172,4 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
pkgs.vimPlugins.copilot-lsp
|
||||
];
|
||||
};
|
||||
|
||||
# TODO: introduced 2025-01-07: remove after 25.05
|
||||
deprecateExtraOptions = true;
|
||||
optionsRenamedToSettings = import ./renamed-options.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,58 +0,0 @@
|
|||
let
|
||||
panelOptions = [
|
||||
"enabled"
|
||||
"autoRefresh"
|
||||
];
|
||||
panelKeymapOptions = [
|
||||
"jumpPrev"
|
||||
"jumpNext"
|
||||
"accept"
|
||||
"refresh"
|
||||
"open"
|
||||
];
|
||||
panelLayoutOptions = [
|
||||
"position"
|
||||
"ratio"
|
||||
];
|
||||
suggestionOptions = [
|
||||
"enabled"
|
||||
"autoTrigger"
|
||||
"debounce"
|
||||
];
|
||||
suggestionKeymapOptions = [
|
||||
"accept"
|
||||
"acceptWord"
|
||||
"acceptLine"
|
||||
"next"
|
||||
"prev"
|
||||
"dismiss"
|
||||
];
|
||||
in
|
||||
[
|
||||
"filetypes"
|
||||
"copilotNodeCommand"
|
||||
"serverOptsOverrides"
|
||||
]
|
||||
++ map (oldOption: [
|
||||
"panel"
|
||||
oldOption
|
||||
]) panelOptions
|
||||
++ map (oldOption: [
|
||||
"panel"
|
||||
"keymap"
|
||||
oldOption
|
||||
]) panelKeymapOptions
|
||||
++ map (oldOption: [
|
||||
"panel"
|
||||
"layout"
|
||||
oldOption
|
||||
]) panelLayoutOptions
|
||||
++ map (oldOption: [
|
||||
"suggestion"
|
||||
oldOption
|
||||
]) suggestionOptions
|
||||
++ map (oldOption: [
|
||||
"suggestion"
|
||||
"keymap"
|
||||
oldOption
|
||||
]) suggestionKeymapOptions
|
||||
Loading…
Add table
Add a link
Reference in a new issue