rcarriga / nvim-notify

A fancy, configurable, notification manager for NeoVim
MIT License
3.11k stars 84 forks source link

Breaking on Nightly Neovim with E5108 and E565 #267

Open V4G4X opened 7 months ago

V4G4X commented 7 months ago

On starting up the nightly version of Neovim, I am greeted with the following error:

E5108: Error executing lua ...hare/nvim/lazy/nvim-notify/lua/notify/render/default.lua:18: E565: Not allowed to change text or change window
stack traceback:
        [C]: in function 'nvim_buf_set_lines'
        ...hare/nvim/lazy/nvim-notify/lua/notify/render/default.lua:18: in function 'render'
        ...nvim/lazy/nvim-notify/lua/notify/service/buffer/init.lua:107: in function 'render'
        .../share/nvim/lazy/nvim-notify/lua/notify/service/init.lua:53: in function 'push'
        ...ocal/share/nvim/lazy/nvim-notify/lua/notify/instance.lua:77: in function 'notify'
        vim/_editor.lua: in function 'notify_once'
        vim/_editor.lua: in function 'deprecate'
        vim/shared.lua: in function 'is_list'
        ...al/share/nvim/lazy/bufferline.nvim/lua/bufferline/ui.lua:119: in function 'get_component_size'
        ...al/share/nvim/lazy/bufferline.nvim/lua/bufferline/ui.lua:480: in function <...al/share/nvim/lazy/bufferline.nvim/lua/bufferline/ui.lua:461>
        vim/shared.lua: in function 'get_components'
        ...local/share/nvim/lazy/bufferline.nvim/lua/bufferline.lua:56: in function <...local/share/nvim/lazy/bufferline.nvim/lua/bufferline.lua:54>

Does this issue have to do with nightly Neovim or with this notify plugin?

I want to use nightly because IMO it performs smoother and has features like codelens and inlayHints, etc.

Any workarounds to make this plugin work?

Versions: nvim-notify:

version 3.13.4

neovim:

NVIM v0.10.0-dev-3007+ga736e845a
Build type: RelWithDebInfo
LuaJIT 2.1.1713484068
arjunindia commented 2 months ago

Same issue, now Stable 0.10.1 (I need 0.10 for ruby-lsp so I don't have any workarounds either)