tests/fidget: update to new format

This commit is contained in:
Heitor Augusto 2024-12-28 16:58:39 -03:00 committed by nix-infra-bot
parent 038f5656d8
commit 81c1ef2090

View file

@ -7,91 +7,91 @@
plugins.fidget = { plugins.fidget = {
enable = true; enable = true;
progress = { settings = {
pollRate = 0; progress = {
suppressOnInsert = false; poll_rate = 0;
ignoreDoneAlready = false; suppress_on_insert = false;
ignoreEmptyMessage = true; ignore_done_already = false;
notificationGroup = "function(msg) return msg.lsp_name end"; ignore_empty_message = true;
clearOnDetach = '' notification_group.__raw = "function(msg) return msg.lsp_name end";
function(client_id) clear_on_detach.__raw = ''
local client = vim.lsp.get_client_by_id(client_id) function(client_id)
return client and client.name or nil local client = vim.lsp.get_client_by_id(client_id)
end return client and client.name or nil
''; end
ignore = [ ]; '';
display = { ignore = [ ];
renderLimit = 16; display = {
doneTtl = 3; render_limit = 16;
doneIcon = ""; done_ttl = 3;
doneStyle = "Constant"; done_icon = "";
progressTtl = "math.huge"; done_style = "Constant";
progressIcon = { progress_ttl.__raw = "math.huge";
pattern = "dots"; progress_icon = [ "dots" ];
}; progress_style = "Warning_msg";
progressStyle = "WarningMsg"; group_style = "Title";
groupStyle = "Title"; icon_style = "Question";
iconStyle = "Question"; priority = 30;
priority = 30; skip_history = true;
skipHistory = true; format_message.__raw = "require('fidget.progress.display').default_format_message";
formatMessage = "require('fidget.progress.display').default_format_message"; format_annote.__raw = "function(msg) return msg.title end";
formatAnnote = "function(msg) return msg.title end"; format_group_name.__raw = "function(group) return tostring(group) end";
formatGroupName = "function(group) return tostring(group) end"; overrides = {
overrides = { rust_analyzer = {
rust_analyzer = { name = "rust-analyzer";
name = "rust-analyzer"; };
}; };
}; };
lsp = {
progress_ringbuf_size = 0;
};
}; };
lsp = { notification = {
progressRingbufSize = 0; poll_rate = 10;
}; filter = "info";
}; history_size = 128;
notification = { override_vim_notify = false;
pollRate = 10; configs = {
filter = "info"; default.__raw = "require('fidget.notification').default_config";
historySize = 128; };
overrideVimNotify = false; redirect.__raw = ''
configs = { function(msg, level, opts)
default = "require('fidget.notification').default_config"; if opts and opts.on_open then
}; return require("fidget.integration.nvim-notify").delegate(msg, level, opts)
redirect = '' end
function(msg, level, opts)
if opts and opts.on_open then
return require("fidget.integration.nvim-notify").delegate(msg, level, opts)
end end
end '';
''; view = {
view = { stack_upwards = true;
stackUpwards = true; icon_separator = " ";
iconSeparator = " "; group_separator = "---";
groupSeparator = "---"; group_separator_hl = "Comment";
groupSeparatorHl = "Comment"; };
window = {
normal_hl = "Comment";
winblend = 100;
border = "none";
border_hl = "";
zindex = 45;
max_width = 0;
max_height = 0;
x_padding = 1;
y_padding = 0;
align = "bottom";
relative = "editor";
};
}; };
window = { integration = {
normalHl = "Comment"; nvim-tree = {
winblend = 100; enable = false;
border = "none"; };
borderHl = "";
zindex = 45;
maxWidth = 0;
maxHeight = 0;
xPadding = 1;
yPadding = 0;
align = "bottom";
relative = "editor";
}; };
}; logger = {
integration = { level = "warn";
nvim-tree = { float_precision = 1.0e-2;
enable = false; path.__raw = "string.format('%s/fidget.nvim.log', vim.fn.stdpath('cache'))";
}; };
}; };
logger = {
level = "warn";
floatPrecision = 1.0e-2;
path.__raw = "string.format('%s/fidget.nvim.log', vim.fn.stdpath('cache'))";
};
}; };
}; };
@ -100,8 +100,10 @@
nvim-tree.enable = true; nvim-tree.enable = true;
fidget = { fidget = {
enable = true; enable = true;
integration = { settings = {
nvim-tree.enable = true; integration = {
nvim-tree.enable = true;
};
}; };
}; };
web-devicons.enable = true; web-devicons.enable = true;