mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
refactor: code
This commit is contained in:
parent
d2dbb232a6
commit
a91282ab14
1 changed files with 1 additions and 2 deletions
|
|
@ -73,8 +73,7 @@ return {
|
|||
},
|
||||
config = function(_, opts)
|
||||
local chat = require("CopilotChat")
|
||||
local cmp_status_ok = pcall(require, "cmp")
|
||||
if cmp_status_ok then
|
||||
if pcall(require, "cmp") then
|
||||
require("CopilotChat.integrations.cmp").setup()
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue