modules/extra: init deprecations module; warn for elixir & vim-tidal

This commit is contained in:
raf 2024-05-06 23:09:40 +03:00
parent 7481423bed
commit bf090172d2
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
3 changed files with 25 additions and 5 deletions

View file

@ -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.
'')
];
}

View file

@ -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 = {

View file

@ -2,10 +2,8 @@
inherit (lib.nvim.languages) mkEnable;
in {
imports = [
./bash
./dart
./elixir
./bash.nix
./dart.nix
./clang.nix
./css.nix
./go.nix