1
0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-11-23 20:37:50 +01:00

fix: remove unused argument

This commit is contained in:
Jiří Štefka 2024-04-09 15:15:29 +02:00
parent 41d3ef7ff8
commit 9dcf608de4
Signed by: jiriks74
GPG Key ID: 1D5E30D3DB2264DE

@ -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