updates
This commit is contained in:
@@ -97,23 +97,23 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"tzachar/cmp-ai",
|
||||
dependencies = "nvim-lua/plenary.nvim",
|
||||
config = function()
|
||||
local cmp_ai = require("cmp_ai.config")
|
||||
|
||||
cmp_ai:setup({
|
||||
max_lines = 1000,
|
||||
provider = "Ollama", -- Change to 'Ollama', 'HF', etc. as needed
|
||||
provider_options = {
|
||||
model = "qwen2.5-coder:latest",
|
||||
},
|
||||
notify = true,
|
||||
run_on_every_keystroke = true,
|
||||
})
|
||||
end,
|
||||
},
|
||||
-- {
|
||||
-- "tzachar/cmp-ai",
|
||||
-- dependencies = "nvim-lua/plenary.nvim",
|
||||
-- config = function()
|
||||
-- local cmp_ai = require("cmp_ai.config")
|
||||
--
|
||||
-- cmp_ai:setup({
|
||||
-- max_lines = 1000,
|
||||
-- provider = "Ollama", -- Change to 'Ollama', 'HF', etc. as needed
|
||||
-- provider_options = {
|
||||
-- model = "qwen2.5-coder:latest",
|
||||
-- },
|
||||
-- notify = true,
|
||||
-- run_on_every_keystroke = true,
|
||||
-- })
|
||||
-- end,
|
||||
-- },
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
event = { "InsertEnter", "CmdlineEnter" },
|
||||
@@ -125,7 +125,7 @@ return {
|
||||
"hrsh7th/cmp-nvim-lsp-document-symbol",
|
||||
"hrsh7th/cmp-cmdline",
|
||||
"amarz45/nvim-cmp-fonts",
|
||||
"tzachar/cmp-ai",
|
||||
-- "tzachar/cmp-ai",
|
||||
"garymjr/nvim-snippets", -- Ensure the snippet source is loaded
|
||||
},
|
||||
config = function()
|
||||
@@ -147,13 +147,13 @@ return {
|
||||
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
||||
["<C-Space>"] = cmp.mapping.complete(),
|
||||
["<C-e>"] = cmp.mapping.abort(),
|
||||
["<CR>"] = cmp.mapping.confirm({ select = true }),
|
||||
["<Right>"] = cmp.mapping.confirm({ select = true }),
|
||||
}),
|
||||
sources = cmp.config.sources({
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "snippets" }, -- This comes from nvim-snippets
|
||||
{ name = "nvim_lsp_signature_help" },
|
||||
{ name = "cmp_ai" },
|
||||
-- { name = "cmp_ai" },
|
||||
}, {
|
||||
{ name = "buffer" },
|
||||
{ name = "path" },
|
||||
|
||||
@@ -4,8 +4,16 @@ return {
|
||||
'wuelnerdotexe/vim-enfocado',
|
||||
lazy = false,
|
||||
config = function()
|
||||
vim.g.enfocad_style = 'nature'
|
||||
vim.g.enfocado_style = 'nature'
|
||||
vim.cmd 'colo enfocado'
|
||||
vim.cmd [[highlight Normal ctermbg=NONE guibg=NONE]]
|
||||
|
||||
|
||||
local ct = require('conftool')
|
||||
ct.augroup('templates', {
|
||||
'ColorScheme', 'enfocado',
|
||||
'highlight', 'Normal', 'ctermbg=NONE', 'guibg=NONE'
|
||||
})
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user