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
+1
View File
@@ -4,6 +4,7 @@
"auto-session": { "branch": "main", "commit": "82630e2f70be140f8dcc75a12e2ee2839e8488c2" },
"base46": { "branch": "v2.5", "commit": "fde7a2cd54599e148d376f82980407c2d24b0fa2" },
"bufresize.nvim": { "branch": "master", "commit": "3b19527ab936d6910484dcc20fb59bdb12322d8b" },
"cmp-async-path": { "branch": "main", "commit": "9d581eec5acf812316913565c135b0d1ee2c9a71" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" },
"cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" },
@@ -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,
},
BIN
View File
Binary file not shown.