This commit is contained in:
Zacharias-Brohn
2025-02-14 16:13:06 +01:00
parent 56468e82c5
commit ceb03fada6
5 changed files with 14 additions and 5 deletions
@@ -2,7 +2,7 @@ dofile(vim.g.base46_cache .. "cmp")
local cmp = require "cmp"
local options = {
cmp.setup {
completion = { completeopt = "menu,menuone" },
snippet = {
@@ -50,8 +50,15 @@ local options = {
{ name = "luasnip" },
{ name = "buffer" },
{ name = "nvim_lua" },
{ name = "path" },
{ name = "async_path" },
},
}
return vim.tbl_deep_extend("force", options, require "nvchad.cmp")
cmp.setup.cmdline(':', {
mapping = cmp.mapping.preset.cmdline(),
sources = cmp.config.sources({
{ name = 'path' },
{ name = 'cmdline' },
}),
matching = { disallow_symbol_nonprefix_matching = false },
})
+1 -1
View File
@@ -1,5 +1,5 @@
require("CopilotChat").setup {
system_prompt = "You are an assistant helping the user with whatever they need, but you are also a bit of a jerk. Do not use profanity.",
-- system_prompt = "You are an assistant helping the user with whatever they need, but you are also a bit of a jerk. Do not use profanity.",
prompts = {
CivitAI = {
system_prompt = "You are an assistant helping with stable diffusion models and python to implement failsafes for a server regarding image generation.",
+2 -1
View File
@@ -263,10 +263,11 @@ return {
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-path",
"FelipeLema/cmp-async-path"
},
},
opts = function()
return require "nvchad.configs.cmp"
return require "configs.cmp"
end,
},