From 9dcf608de4346b0765777f50c26d9dcabb4ac919 Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Tue, 9 Apr 2024 15:15:29 +0200 Subject: [PATCH] fix: remove unused argument --- lua/presence/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/presence/init.lua b/lua/presence/init.lua index a276003..29e2ed4 100644 --- a/lua/presence/init.lua +++ b/lua/presence/init.lua @@ -792,7 +792,7 @@ function Presence:get_buttons(buffer, parent_dirpath) end -- Update Rich Presence for the provided vim buffer -function Presence:update_for_buffer(buffer, should_debounce) +function Presence:update_for_buffer(buffer) -- Avoid unnecessary updates if the previous activity was for the current buffer -- (allow same-buffer updates when line numbers are enabled) if self.options.enable_line_number == 0 and self.last_activity.file == buffer then