1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-14 22:42:45 +01:00
nixvim/tests/test-sources/plugins/by-name/tailwind-tools/default.nix
saygo-png 79d53a50e2 tests: use __empty and __raw
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-11-05 21:26:13 +00:00

75 lines
1.6 KiB
Nix

{
empty = {
plugins.tailwind-tools.enable = true;
test.warnings = expect: [
(expect "count" 1)
(expect "any" "Nixvim (plugins.tailwind-tools): This plugin has been deprecated.")
(expect "any" "Consider disabling it or switching to an alternative.")
];
};
defaults = {
plugins.tailwind-tools = {
enable = true;
settings = {
server = {
override = true;
settings.__empty = { };
on_attach.__raw = "function(client, bufnr) end";
};
document_color = {
enabled = true;
kind = "inline";
inline_symbol = "󰝤 ";
debounce = 200;
};
conceal = {
enabled = false;
min_length.__raw = "nil";
symbol = "󱏿";
highlight = {
fg = "#38BDF8";
};
};
cmp = {
highlight = "foreground";
};
telescope = {
utilities = {
callback.__raw = "function(name, class) end";
};
};
extension = {
queries.__empty = { };
patterns.__empty = { };
};
};
};
test.warnings = expect: [
(expect "count" 1)
];
};
example = {
plugins.tailwind-tools = {
enable = true;
settings = {
document_color = {
conceal = {
enabled = true;
symbol = "";
};
document_color.kind = "background";
};
};
};
test.warnings = expect: [
(expect "count" 1)
];
};
}