[fix] Fix the copilot issue on not LspAttach-ed files

This commit is contained in:
Uttarayan Mondal
2023-04-12 15:51:46 +05:30
parent 20cd46b6fb
commit 9681e59013
3 changed files with 9 additions and 8 deletions

View File

@@ -87,8 +87,8 @@ local normal_mode_maps = {
local insert_mode_maps = {
{ key = '<C-j>', map = '<ESC>' },
{ key = "<C-l>", map = 'copilot#Accept("<CR>")', options = { silent = true, expr = true } },
{ key = "<C-m>", map = 'copilot#Accept("<CR>")', options = { silent = true, expr = true } },
-- { key = "<C-l>", map = 'copilot#Accept("<CR>")', options = { silent = true, expr = true } },
-- { key = "<C-m>", map = 'copilot#Accept("<CR>")', options = { silent = true, expr = true } },
{ key = '<C-c>', map = [[<cmd>Telescope commands<cr>]] },
}