From c220da2af96200dac0cbfe62192ec5f1eabe7e13 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Sat, 27 Apr 2024 16:00:54 +0200 Subject: [PATCH] fidget: remove ineffectful option whether you set clear_on_detach to true or false you still get the default behaviour --- modules/plugins/visuals/fidget/fidget.nix | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/modules/plugins/visuals/fidget/fidget.nix b/modules/plugins/visuals/fidget/fidget.nix index 6897800..3cdcee8 100644 --- a/modules/plugins/visuals/fidget/fidget.nix +++ b/modules/plugins/visuals/fidget/fidget.nix @@ -42,21 +42,6 @@ in { type = bool; 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 { description = "How to get a progress message's notification group key"; type = str;