mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 04:21:08 +00:00
fix(copilot-native): schedule inline_completion.enable
This commit is contained in:
parent
2f76d572a2
commit
23b1da170f
1 changed files with 3 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue