Closed no1melman closed 1 year ago
In actual fact, I've just done better when requiring ionide and auto setting it up.
require("ionide").setup {
on_attach = function(client, bufnr)
on_attach(client, bufnr)
vim.lsp.codelens.refresh()
end,
capabilities = capabilities,
}
This seems to force the refresh
@no1melman Hi! Can you check (with the workaround removed) if the fix-69 branch fixes the problem? It injects vim.lsp.codelens.refresh()
to on_attach
.
OOOOoooo I will have a check in a bit
Describe the bug Essentially, after opening a couple of buffers, CodeLens stops loading properly
To Reproduce Steps to reproduce the behaviour:
I have NvChad, so a tree explorer, and nvim lsp with Ionide loaded
Expected behaviour CodeLens should always show...
Screenshots
Environment (please complete the following information):
Additional context I have created a command to automagically call this for me
In my init.lua script, if anyone was curious on how to get around this...