all repos

init.lua @ 3403f0e

my nvim config
1 files changed, 17 insertions(+), 0 deletions(-)
refactor(copilot): update configuration, add some keymaps
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2024-01-15 12:20:10 +0200
Parent: 46283fc
M lua/plugins/completion.lua

@@ -1,7 +1,24 @@

return { { "zbirenbaum/copilot.lua", + cmd = "Copilot", + build = ":Copilot auth", + keys = { + { "<leader>lc", ":Copilot panel<cr>" }, + }, opts = { + suggestion = { enabled = false }, + panel = { + enabled = true, + auto_refresh = true, + keymap = { + refresh = "<C-r>", + }, + layout = { + position = "right", + ratio = 0.3, + }, + }, filetypes = { markdown = false, gitignore = false,