Fix copilot check
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
-- AI code completion
|
-- AI code completion
|
||||||
|
|
||||||
if (vim.fn.getenv('COPILOT_API_KEY') ~= nil) then
|
if (vim.fn.getenv('COPILOT_API_KEY') ~= vim.NIL) then
|
||||||
return {
|
return {
|
||||||
'zbirenbaum/copilot.lua',
|
'zbirenbaum/copilot.lua',
|
||||||
event = 'InsertEnter',
|
event = 'InsertEnter',
|
||||||
|
|||||||
Reference in New Issue
Block a user