enabled cmp-ai
This commit is contained in:
parent
1491a28c3f
commit
693fddbe6f
|
|
@ -97,23 +97,23 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
-- {
|
{
|
||||||
-- "tzachar/cmp-ai",
|
"tzachar/cmp-ai",
|
||||||
-- dependencies = "nvim-lua/plenary.nvim",
|
dependencies = "nvim-lua/plenary.nvim",
|
||||||
-- config = function()
|
config = function()
|
||||||
-- local cmp_ai = require("cmp_ai.config")
|
local cmp_ai = require("cmp_ai.config")
|
||||||
--
|
|
||||||
-- cmp_ai:setup({
|
cmp_ai:setup({
|
||||||
-- max_lines = 1000,
|
max_lines = 1000,
|
||||||
-- provider = "Ollama", -- Change to 'Ollama', 'HF', etc. as needed
|
provider = "Ollama", -- Change to 'Ollama', 'HF', etc. as needed
|
||||||
-- provider_options = {
|
provider_options = {
|
||||||
-- model = "qwen2.5-coder:latest",
|
model = "qwen2.5-coder:latest",
|
||||||
-- },
|
},
|
||||||
-- notify = true,
|
notify = true,
|
||||||
-- run_on_every_keystroke = true,
|
run_on_every_keystroke = true,
|
||||||
-- })
|
})
|
||||||
-- end,
|
end,
|
||||||
-- },
|
},
|
||||||
{
|
{
|
||||||
"hrsh7th/nvim-cmp",
|
"hrsh7th/nvim-cmp",
|
||||||
event = { "InsertEnter", "CmdlineEnter" },
|
event = { "InsertEnter", "CmdlineEnter" },
|
||||||
|
|
@ -125,7 +125,7 @@ return {
|
||||||
"hrsh7th/cmp-nvim-lsp-document-symbol",
|
"hrsh7th/cmp-nvim-lsp-document-symbol",
|
||||||
"hrsh7th/cmp-cmdline",
|
"hrsh7th/cmp-cmdline",
|
||||||
"amarz45/nvim-cmp-fonts",
|
"amarz45/nvim-cmp-fonts",
|
||||||
-- "tzachar/cmp-ai",
|
"tzachar/cmp-ai",
|
||||||
"garymjr/nvim-snippets", -- Ensure the snippet source is loaded
|
"garymjr/nvim-snippets", -- Ensure the snippet source is loaded
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue