fixes, disabling non-working plugins

This commit is contained in:
2025-04-07 09:18:41 +08:00
parent e90bc1bb5f
commit 70b71d56e5
5 changed files with 62 additions and 54 deletions

View File

@@ -124,56 +124,56 @@ return {
vim.diagnostic.config({ virtual_text = false })
end
},
{
'hrsh7th/cmp-nvim-lsp',
dependencies = {
'hrsh7th/nvim-cmp',
}
},
{
'jacob411/Ollama-Copilot',
dependencies = {
'hrsh7th/cmp-nvim-lsp',
},
opts = {
model_name = "qwen2.5-coder:14b",
stream_suggestion = false,
python_command = "python3",
filetypes = {
"bash",
"c",
"cpp",
"cs",
"dart",
"go",
"html",
"javascript",
"javascriptreact",
"json",
"lua",
"python",
"tex",
"typescript",
"typescriptreact",
},
ollama_model_opts = {
num_predict = 40,
temperature = 0.1,
},
keymaps = {
suggestion = '<leader>os',
reject = '<leader>or',
insert_accept = '<Leader><Tab>',
},
-- {
-- 'hrsh7th/cmp-nvim-lsp',
-- dependencies = {
-- 'hrsh7th/nvim-cmp',
-- }
-- },
-- {
-- 'jacob411/Ollama-Copilot',
-- dependencies = {
-- 'hrsh7th/cmp-nvim-lsp',
-- },
-- opts = {
-- model_name = "qwen2.5-coder:14b",
-- stream_suggestion = false,
-- python_command = "python3",
-- filetypes = {
-- "bash",
-- "c",
-- "cpp",
-- "cs",
-- "dart",
-- "go",
-- "html",
-- "javascript",
-- "javascriptreact",
-- "json",
-- "lua",
-- "python",
-- "tex",
-- "typescript",
-- "typescriptreact",
-- },
-- ollama_model_opts = {
-- num_predict = 40,
-- temperature = 0.1,
-- },
-- keymaps = {
-- suggestion = '<leader>os',
-- reject = '<leader>or',
-- insert_accept = '<Leader><Tab>',
-- },
},
},
-- },
-- },
{
'williamboman/mason-lspconfig.nvim',
dependencies = {
'ms-jpq/coq_nvim',
'nanotee/nvim-lsp-basics',
'jacob411/Ollama-Copilot',
-- 'jacob411/Ollama-Copilot',
'neovim/nvim-lspconfig',
'stevearc/aerial.nvim',
'williamboman/mason.nvim',

View File

@@ -7,7 +7,7 @@ return {
lazy = false,
config = function()
local ct = require('conftool')
ct.set({'background', 'light'})
ct.set({'background', 'dark'})
vim.cmd [[colo onedark]]
end,
keys = {
@@ -48,6 +48,13 @@ return {
{
'hiphish/rainbow-delimiters.nvim',
lazy = false,
}
},
--
-- Neovim Qt
--
{
'equalsraf/neovim-gui-shim',
lazy = false,
},
}

View File

@@ -10,10 +10,10 @@ return {
--
-- Multi-cursor
--
{
'mg979/vim-visual-multi',
lazy = false
},
-- {
-- 'mg979/vim-visual-multi',
-- lazy = false
-- },
{ 'Raimondi/delimitMate', lazy = false }
}