This commit is contained in:
Elflare
2025-12-05 12:59:17 +08:00
parent 56c2c26fc1
commit 1d478708ad
2 changed files with 117 additions and 68 deletions

View File

@@ -14,6 +14,10 @@ function M.render_memos(data, append)
if not buf_id or not vim.api.nvim_buf_is_valid(buf_id) then
return
end
if not data then
vim.notify("API returned no data.", vim.log.levels.WARN)
return
end
local new_memos = data.memos or {}
current_page_token = data.nextPageToken or ""
if append then