Fixes nil error on when setting keymap (#17)

Borrowed from https://github.com/nvim-telescope/telescope.nvim/pull/1471#pullrequestreview-811831864
This commit is contained in:
cybermelon 2024-01-05 00:19:07 -05:00 committed by GitHub
parent e51023c895
commit db4899640d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ local function get_text(annotation)
end
local function bookmark(opts)
opts = opts or {}
local allmarks = config.cache.data
local marklist = {}
for k, ma in pairs(allmarks) do