fix: more readable value name (#1521)

This commit is contained in:
yetone
2025-03-07 20:27:11 +08:00
committed by GitHub
parent 6c7c5464ca
commit 4d983532a1
6 changed files with 39 additions and 35 deletions

View File

@@ -42,7 +42,7 @@ function M.check()
end
-- Check Copilot if configured
if Config.providers and Config.providers == "copilot" then
if Config.provider and Config.provider == "copilot" then
if Utils.has("copilot.lua") or Utils.has("copilot.vim") or Utils.has("copilot") then
H.ok("Found Copilot plugin")
else