diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2025-11-30 23:37:04 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2025-11-30 23:37:04 -0300 |
| commit | 7a32abb7c07c320cdeae19897d9daaea48acb1bb (patch) | |
| tree | ce530d2820afc7d0a14b1c2fa56a8f0bee96569c /lua/plugins/copilot-chat.lua | |
| parent | 42a77146a31d6d0180d80b1ada98cd828c2b4b22 (diff) | |
| download | nvim-conf-7a32abb7c07c320cdeae19897d9daaea48acb1bb.tar.gz nvim-conf-7a32abb7c07c320cdeae19897d9daaea48acb1bb.zip | |
refactorización!: migración de la funcionalidad de búsqueda y selección de archivos de Telescope a Snacks.nvim
CAMBIO IMPORTANTE: Se elimina el plugin Telescope y los módulos personalizados relacionados (init, mappings, my_actions, setup). Toda la navegación y búsqueda de archivos, buffers y selectores ahora utiliza Snacks.nvim. Se actualizan los mapeos de teclas y las dependencias de plugins para reflejar esta migración. También se modifican las configuraciones de plugins (codecompanion, copilot-chat, dap, lualine, refactoring, todo-comments) para eliminar o reemplazar el uso de Telescope por Snacks. Algunas opciones de formato en null-ls se comentan. Este cambio requiere Snacks.nvim y elimina nvim-telescope/telescope.nvim del espacio de trabajo.
Diffstat (limited to 'lua/plugins/copilot-chat.lua')
| -rw-r--r-- | lua/plugins/copilot-chat.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lua/plugins/copilot-chat.lua b/lua/plugins/copilot-chat.lua index c7decda..be40096 100644 --- a/lua/plugins/copilot-chat.lua +++ b/lua/plugins/copilot-chat.lua @@ -26,7 +26,7 @@ return { -- version = "v3.3.0", dependencies = { { "nvim-lua/plenary.nvim" }, - { "nvim-telescope/telescope.nvim" }, -- Using telescope instead of fzf-lua + -- { "nvim-telescope/telescope.nvim" }, -- Using telescope instead of fzf-lua }, opts = { -- question_header = "## User ", @@ -34,7 +34,7 @@ return { -- error_header = "## Error ", prompts = prompts, -- Turn off Claude model as it's not working well - -- model = "claude-3.5-sonnet", + model = "gpt-4.1", auto_follow_cursor = false, -- Don't follow the cursor after getting response }, @@ -50,7 +50,8 @@ return { -- opts.answer_header = " Copilot " -- Override the git prompts message opts.prompts.Commit = { - prompt = '> #git:staged\n\nWrite commit message with commitizen convention. Write clear, informative commit messages that explain the "what" and "why" behind changes, not just the "how".', + prompt = + '> #git:staged\n\nWrite commit message with commitizen convention. Write clear, informative commit messages that explain the "what" and "why" behind changes, not just the "how".', } chat.setup(opts) |