mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-11 11:31:08 +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
|
|
@ -19,17 +19,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
# TODO: Added 2025-04-26; remove after 25.05
|
||||
(lib.mkRenamedOptionModule [ "diagnostics" ] [ "diagnostic" "settings" ])
|
||||
|
||||
# TODO: Added 2025-04-30;
|
||||
# The above rename initially renamed `diagnostics` -> `diagnostic.config`
|
||||
# This rename covers any users who migrated between 2025-04-26 and 2025-04-30
|
||||
# We can consider removing this rename earlier than usual
|
||||
(lib.mkRenamedOptionModule [ "diagnostic" "config" ] [ "diagnostic" "settings" ])
|
||||
];
|
||||
|
||||
config = {
|
||||
extraConfigLuaPre = lib.mkIf (cfg.settings != { }) ''
|
||||
vim.diagnostic.config(${lib.nixvim.toLuaObject cfg.settings})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue