mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-03-10 09:27:25 +00:00
fix(copilot-native): schedule inline_completion.enable
This commit is contained in:
@@ -45,7 +45,9 @@ return {
|
|||||||
},
|
},
|
||||||
setup = {
|
setup = {
|
||||||
copilot = function()
|
copilot = function()
|
||||||
|
vim.schedule(function()
|
||||||
vim.lsp.inline_completion.enable()
|
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()
|
||||||
|
|||||||
Reference in New Issue
Block a user