mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
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:
parent
89bdd80e20
commit
c220da2af9
1 changed files with 0 additions and 15 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue