1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00

plugins/tailwind-tools: move deprecation to plugins/deprecation.nix

This commit is contained in:
Matt Sturgeon 2025-10-22 03:55:22 +01:00
parent b3eeecc57e
commit 2fac73b8d4
3 changed files with 7 additions and 7 deletions

View file

@ -101,12 +101,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
};
};
extraConfig = cfg: {
warnings = lib.nixvim.mkWarnings "plugins.tailwind-tools" {
message = ''The upstream GitHub project for tailwind-tools is archived, and enabling this plugin triggers an lspconfig deprecation warning. Consider disabling it or switching to an alternative.'';
};
};
settingsExample = {
document_color = {
conceal = {

View file

@ -1,6 +1,11 @@
{ lib, ... }:
let
deprecated = {
# Added 2025-10-22
tailwind-tools = ''
The upstream GitHub project for tailwind-tools is archived, and enabling this plugin triggers an lspconfig deprecation warning.
Consider disabling it or switching to an alternative.
'';
};
removed.plugins = {
# Added 2023-08-29

View file

@ -4,7 +4,8 @@
test.warnings = expect: [
(expect "count" 1)
(expect "any" "Nixvim (plugins.tailwind-tools): The upstream GitHub project for tailwind-tools is archived,")
(expect "any" "Nixvim (plugins.tailwind-tools): This plugin has been deprecated.")
(expect "any" "Consider disabling it or switching to an alternative.")
];
};