diff --git a/modules/extra/deprecations.nix b/modules/extra/deprecations.nix new file mode 100644 index 0000000..b2bf522 --- /dev/null +++ b/modules/extra/deprecations.nix @@ -0,0 +1,16 @@ +{lib, ...}: let + inherit (lib.modules) mkRemovedOptionModule; +in { + imports = [ + # 2024-06-06 + (mkRemovedOptionModule ["vim" "languages" "elixir"] '' + Elixir language support has been removed as of 2024-06-06 as it was long unmaintained. If + you dependend on this language support, please consider contributing to its maintenance. + '') + + (mkRemovedOptionModule ["vim" "tidal"] '' + Tidalcycles language support has been removed as of 2024-06-06 as it was long unmaintained. If + you depended on this functionality, please open an issue. + '') + ]; +} diff --git a/modules/modules.nix b/modules/modules.nix index 620111f..0de5984 100644 --- a/modules/modules.nix +++ b/modules/modules.nix @@ -53,7 +53,13 @@ "warnings" ]; - allModules = concatLists [neovim plugins wrapper]; + # Extra modules, such as deprecation warnings + # or renames in one place. + extra = map (p: ./extra + "/${p}") [ + "deprecations.nix" + ]; + + allModules = concatLists [neovim plugins wrapper extra]; pkgsModule = {config, ...}: { config = { diff --git a/modules/plugins/languages/default.nix b/modules/plugins/languages/default.nix index eb5125a..802dfe7 100644 --- a/modules/plugins/languages/default.nix +++ b/modules/plugins/languages/default.nix @@ -2,10 +2,8 @@ inherit (lib.nvim.languages) mkEnable; in { imports = [ - ./bash - ./dart - ./elixir - + ./bash.nix + ./dart.nix ./clang.nix ./css.nix ./go.nix