nvimdev / galaxyline.nvim

neovim statusline plugin written in lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

in neovim 0.6.1, galaxyline now stops LSP from working

elmarsto opened this issue · comments

Impact

Nvim feels almost frozen. you have to :LspStop to be able to type anything at all. A repeating error message indicates that lsp.diagnostic.get_count() is deprecated.

When begun

After version bump from neovim 0.6 to neovim 0.6.1

How determined

Nvim reports (at every refresh) that lsp.diagnostic.get_count() is deprecated. Ripgrep found that the only occurrence of this call in my ~/.local/share/nvim is, in fact, galaxyline. Specifically, provider_diagnostic.lua, at line 24, in latest galaxyline.nvim on main branch. Removing galaxyline from my config and then :PackerSync resolved this.

Mitigation

Disable galaxyline.nvim until it catches up with neovim.

I'm here for the same problem, I didn't know that @glepnir was also the creator of this plugin, I don't know what happened but he seems to be AFK for a long time, LSP Saga was forked due to breaking changes. So maybe we need a GalaxyLine fork as well or move to use something else.

I found a Reddit post with a link to a fork that seems to be maintained: https://github.com/NTBBloodbath/galaxyline.nvim