mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-12-25 12:14:19 +01:00
fix(copilot-native): schedule inline_completion.enable
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user