mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-21 20:11:06 +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 = {
|
setup = {
|
||||||
copilot = function()
|
copilot = function()
|
||||||
vim.lsp.inline_completion.enable()
|
vim.schedule(function()
|
||||||
|
vim.lsp.inline_completion.enable()
|
||||||
|
end)
|
||||||
-- Accept inline suggestions or next edits
|
-- Accept inline suggestions or next edits
|
||||||
LazyVim.cmp.actions.ai_accept = function()
|
LazyVim.cmp.actions.ai_accept = function()
|
||||||
return vim.lsp.inline_completion.get()
|
return vim.lsp.inline_completion.get()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue