fix(copilot-native): schedule inline_completion.enable

This commit is contained in:
Folke Lemaitre
2025-10-01 19:04:14 +02:00
parent 2f76d572a2
commit 23b1da170f

View File

@@ -45,7 +45,9 @@ return {
},
setup = {
copilot = function()
vim.lsp.inline_completion.enable()
vim.schedule(function()
vim.lsp.inline_completion.enable()
end)
-- Accept inline suggestions or next edits
LazyVim.cmp.actions.ai_accept = function()
return vim.lsp.inline_completion.get()