From 213ddc3a8fe586f665cbb4c5f9db3a23fae8ad59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20L=C3=B6hnert?= Date: Sun, 6 Aug 2023 20:10:59 +0200 Subject: [PATCH] revert: use `` for copilot acceptance (#507) Refs: aeecada --- lua/astrocommunity/completion/copilot-lua-cmp/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/astrocommunity/completion/copilot-lua-cmp/init.lua b/lua/astrocommunity/completion/copilot-lua-cmp/init.lua index 116702182..38e5631a2 100644 --- a/lua/astrocommunity/completion/copilot-lua-cmp/init.lua +++ b/lua/astrocommunity/completion/copilot-lua-cmp/init.lua @@ -51,7 +51,7 @@ return { if copilot.is_visible() then copilot.accept_line() end end) - opts.mapping[""] = cmp.mapping(function() + opts.mapping[""] = cmp.mapping(function() if copilot.is_visible() then copilot.accept_line() end end)