File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -233,6 +233,7 @@ The function is given a state table that contains the following keys:
233
233
- ` width ` Width of the message buffer
234
234
- ` height ` Height of the message buffer
235
235
- ` open_windows: integer[] ` List of all window IDs currently showing messages
236
+ - ` buffer: integer ` The buffer containing the rendered notification message.
236
237
237
238
If a notification can't be shown at the moment the function should return ` nil ` .
238
239
Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ function WindowAnimator:get_goals()
216
216
for win , win_stage in pairs (self .win_stages ) do
217
217
local notif_buf = self .notif_bufs [win ]
218
218
local win_goals = self .stages [win_stage ]({
219
+ buffer = notif_buf :buffer (),
219
220
message = self ._get_dimensions (notif_buf ),
220
221
open_windows = open_windows ,
221
222
}, win )
You can’t perform that action at this time.
0 commit comments