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:
parent
b3eeecc57e
commit
2fac73b8d4
3 changed files with 7 additions and 7 deletions
|
|
@ -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 = {
|
settingsExample = {
|
||||||
document_color = {
|
document_color = {
|
||||||
conceal = {
|
conceal = {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,11 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
let
|
let
|
||||||
deprecated = {
|
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 = {
|
removed.plugins = {
|
||||||
# Added 2023-08-29
|
# Added 2023-08-29
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,8 @@
|
||||||
|
|
||||||
test.warnings = expect: [
|
test.warnings = expect: [
|
||||||
(expect "count" 1)
|
(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.")
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue