Closed arthurbdev closed 1 month ago
Hey thanks for the contribution!
I don't have this issue as my neovim closes instantly.
Would you mind disabling markdown oxide :LspStop
then quitting and seeing if there is still a delay?
After some debugging I realized it was a configuration bug on my part:
vim.api.nvim_create_autocmd("LspDetach", {
group = vim.api.nvim_create_augroup("kickstart-lsp-detach", { clear = true }),
callback = function(event)
vim.lsp.buf.clear_references()
vim.lsp.codelens.clear()
vim.lsp.inlay_hint.enable(false)
-- this line after doing :LspStop outputs an error
vim.api.nvim_clear_autocmds({ group = "kickstart-lsp-highlight", buffer = event.buf })
vim.api.nvim_clear_autocmds({ group = "custom-lsp-codelens", buffer = event.buf })
end,
})
Sorry for disturbance and thank you for a great LSP!
Thank you! Feel free to open issues for anything else!
Hey, thank you for your work.
I noticed there is a noticeable(2-3s) delay when exiting(
:q
) neovim from a markdown file with your lsp launched. However, if i switch to a different file, lua for example, there is no delayInstalled through
:Mason
Neovim version
Let me know if you need more details