fidget: remove ineffectful option

whether you set clear_on_detach to true or false you still get the
default behaviour
This commit is contained in:
Ching Pei Yang 2024-04-27 16:00:54 +02:00
parent 89bdd80e20
commit c220da2af9

View file

@ -42,21 +42,6 @@ in {
type = bool; type = bool;
default = false; default = false;
}; };
clear_on_detach = mkOption {
description = "Clear notification group when LSP server detaches";
type = bool;
default = true;
apply = clear:
if clear
then
mkLuaInline ''
function(client_id)
local client = vim.lsp.get_client_by_id(client_id)
return client and client.name or nil
end
''
else null;
};
notification_group = mkOption { notification_group = mkOption {
description = "How to get a progress message's notification group key"; description = "How to get a progress message's notification group key";
type = str; type = str;