From 06430ebf99834ebc5d86c63816e409f4cb51fe79 Mon Sep 17 00:00:00 2001 From: fstp Date: Tue, 24 Feb 2026 11:37:08 +0100 Subject: [PATCH] fix deprecation warning for is_stopped() --- lua/copilot_cmp/source.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/copilot_cmp/source.lua b/lua/copilot_cmp/source.lua index 84bed53..d32a33b 100644 --- a/lua/copilot_cmp/source.lua +++ b/lua/copilot_cmp/source.lua @@ -20,7 +20,7 @@ end source.is_available = function(self) -- client is stopped. - if self.client.is_stopped() or not self.client.name == "copilot" then + if self.client:is_stopped() or not self.client.name == "copilot" then return false end