Hi!
it's not an issue with your configuration but maybe you have some extra knowledge to help me add autocompletion!
I've set up the completion like in your config, only setting the autotrigger option to true
vim.api.nvim_create_autocmd("LspAttach", {
group = vim.api.nvim_create_augroup("UserLspAttach", { clear = false }),
callback = function(ev)
vim.lsp.completion.enable(true, ev.data.client_id, ev.buf, { autotrigger = true })
end
})
unfortunately I don't have the completion showing up when editing files, if I call the vim.lsp.completion.trigger function the autocomplete works
do you know by any chance if I need to set up something else to have the autocompletion working automatically while writing in the buffer?
this documentation from neovim does not mention anything else, I think
Hi!
it's not an issue with your configuration but maybe you have some extra knowledge to help me add autocompletion!
I've set up the completion like in your config, only setting the
autotriggeroption totrueunfortunately I don't have the completion showing up when editing files, if I call the
vim.lsp.completion.triggerfunction the autocomplete worksdo you know by any chance if I need to set up something else to have the autocompletion working automatically while writing in the buffer?
this documentation from neovim does not mention anything else, I think