mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-17 07:52:47 +01:00
See RFC: https://github.com/nix-community/nixvim/issues/3745
This effectively reverts 21688b1d2a
22 lines
726 B
Nix
22 lines
726 B
Nix
{ lib, ... }:
|
|
{
|
|
# NOTE: we need a warnings option for `mkRenamedOptionModule` to warn about unexpected definitions
|
|
# This can be removed when all rename aliases are gone
|
|
options.warnings = lib.mkOption {
|
|
type = with lib.types; listOf str;
|
|
description = "Warnings to propagate to nixvim's `warnings` option.";
|
|
default = [ ];
|
|
internal = true;
|
|
visible = false;
|
|
};
|
|
|
|
imports = [
|
|
# 2025-05-28: Introduced the option, named `config`
|
|
# 2025-04-30: Renamed `config` → `settings`
|
|
# 25.05 released 🚀
|
|
# 2025-10-03: Renamed `settings` → `config` 🙈
|
|
# See RFC: https://github.com/nix-community/nixvim/issues/3745
|
|
(lib.mkRenamedOptionModule [ "settings" ] [ "config" ])
|
|
];
|
|
|
|
}
|