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:
parent
41d3ef7ff8
commit
9dcf608de4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user