rcarriga / nvim-notify

A fancy, configurable, notification manager for NeoVim
MIT License
2.97k stars 78 forks source link

[BUG] Telescope preview does't work normally #155

Closed Rlyown closed 1 year ago

Rlyown commented 1 year ago

neovim: v0.8.0 nvim-notify: latest

My telescope theme is dropdown. When I ran Telescope notify, I got the following error message and preview showed nothing.

Error executing vim.schedule lua callback: ...m/site/pack/packer/start/nvim-notify/lua/notify/init.lua:262: attempt to concatenate local 'notif_id' (a nil value)
stack traceback:
        ...m/site/pack/packer/start/nvim-notify/lua/notify/init.lua:262: in function 'open'
        ...r/start/nvim-notify/lua/telescope/_extensions/notify.lua:105: in function 'define_preview'
        .../telescope/lua/telescope/previewers/buffer_previewer.lua:388: in function 'preview'
        ...te/pack/packer/start/telescope/lua/telescope/pickers.lua:1075: in function 'refresh_previewer'
        ...te/pack/packer/start/telescope/lua/telescope/pickers.lua:1028: in function 'set_selection'
        ...te/pack/packer/start/telescope/lua/telescope/pickers.lua:1360: in function '_do_selection'
        ...te/pack/packer/start/telescope/lua/telescope/pickers.lua:1322: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>