From 4d58238b789dbfec8ab077298c315a75f4c4102a Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Fri, 29 Mar 2024 17:57:32 +0100 Subject: [PATCH] [neovim] Update Copilotchat config --- .config/nvim/lua/plugins/copilot.lua | 6 ++---- .config/nvim/lua/plugins/dap.lua | 8 ++++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.config/nvim/lua/plugins/copilot.lua b/.config/nvim/lua/plugins/copilot.lua index 056981f..464ab4c 100644 --- a/.config/nvim/lua/plugins/copilot.lua +++ b/.config/nvim/lua/plugins/copilot.lua @@ -16,10 +16,8 @@ require("copilot").setup({ local prompts = { Spelling = { - system_prompt = - "You are a technical writer. You have a deep understanding of both the English and the Spanish languages. You can effectively communicate complex ideas and concepts in a way everyone easily understands. You have a keen eye for detail and can pick up on subtle nuances in language that others may miss. You are also skilled at translating written or spoken content from one language to another, ensuring that the meaning and tone of the original message are preserved.", - prompt = - "Correct any grammar and spelling errors in the following text. Respect the markdown format when provided", + system_prompt = "You are a technical writer. You have a deep understanding of both the English and the Spanish languages. You can effectively communicate complex ideas and concepts in a way everyone easily understands. You have a keen eye for detail and can pick up on subtle nuances in language that others may miss. You are also skilled at translating written or spoken content from one language to another, ensuring that the meaning and tone of the original message are preserved.", + prompt = "Correct any grammar and spelling errors in the following text. Respect the markdown format when provided", }, } diff --git a/.config/nvim/lua/plugins/dap.lua b/.config/nvim/lua/plugins/dap.lua index fd929aa..53f4926 100644 --- a/.config/nvim/lua/plugins/dap.lua +++ b/.config/nvim/lua/plugins/dap.lua @@ -34,14 +34,14 @@ dap.listeners.after.event_initialized.dapui_config = function() end dap.listeners.before.attach.dapui_config = function() - dapui.open() + dapui.open() end dap.listeners.before.launch.dapui_config = function() - dapui.open() + dapui.open() end dap.listeners.before.event_terminated.dapui_config = function() - dapui.close() + dapui.close() end dap.listeners.before.event_exited.dapui_config = function() - dapui.close() + dapui.close() end