This commit is contained in:
Yaser Alraddadi 2024-12-19 02:53:45 +03:00
parent ee9084ac91
commit dbfd7bfb7d
No known key found for this signature in database
GPG Key ID: 808212144E6DBE90
3 changed files with 9 additions and 40 deletions

View File

@ -805,13 +805,13 @@ require('lazy').setup({
harper_ls = { harper_ls = {
-- userDictPath = '~/dict.txt', -- userDictPath = '~/dict.txt',
}, },
ltex = { -- ltex = {
ltex = { -- ltex = {
additionalRules = { -- additionalRules = {
languageModel = '~/ngrams/', -- languageModel = '~/ngrams/',
}, -- },
}, -- },
}, -- },
} }
-- Ensure the servers and tools above are installed -- Ensure the servers and tools above are installed
-- To check the current status of installed tools and/or manually install -- To check the current status of installed tools and/or manually install

View File

@ -31,38 +31,18 @@ return {
-- --
{ {
'CopilotC-Nvim/CopilotChat.nvim', 'CopilotC-Nvim/CopilotChat.nvim',
branch = 'canary',
dependencies = { dependencies = {
{ 'github/copilot.vim' }, -- or github/copilot.vim { 'github/copilot.vim' }, -- or github/copilot.vim
-- { 'zbirenbaum/copilot.lua' }, -- or github/copilot.vim -- { 'zbirenbaum/copilot.lua' }, -- or github/copilot.vim
{ 'nvim-lua/plenary.nvim' }, -- for curl, log wrapper { 'nvim-lua/plenary.nvim', branch = 'master' }, -- for curl, log wrapper
}, },
build = 'make tiktoken', -- Only on MacOS or Linux build = 'make tiktoken', -- Only on MacOS or Linux
opts = { opts = {
-- debug = true, -- Enable debugging -- debug = true, -- Enable debugging
-- See Configuration section for rest -- See Configuration section for rest
model = 'claude-3.5-sonnet', -- GPT model to use, 'gpt-3.5-turbo', 'gpt-4', or 'gpt-4o', 'o1-mini', 'o1-preview' model = 'claude-3.5-sonnet', -- GPT model to use, 'gpt-3.5-turbo', 'gpt-4', or 'gpt-4o', 'o1-mini', 'o1-preview', 'claude-3.5-sonnet'
-- clear_chat_on_new_prompt = true, -- clear_chat_on_new_prompt = true,
}, },
-- See Commands section for default commands if you want to lazy load on them
--
-- keys = {
-- {
-- '<leader>ccq',
-- function()
-- local input = vim.fn.input 'Quick Chat: '
-- if input ~= '' then
-- -- require('CopilotChat').ask(input, { selection = require('CopilotChat.select').buffer })
-- require('CopilotChat').ask(input)
-- end
-- end,
-- desc = 'CopilotChat - Quick chat',
-- },
-- },
keys = {
-- { '<leader>ccq', '<cmd>CopilotChatOpen<cr>', mode = 'x', desc = 'CopilotChat' },
{ '<leader>ccq', ':CopilotChat ', mode = 'x', desc = 'CopilotChat' },
},
}, },
-- { -- {
-- 'yetone/avante.nvim', -- 'yetone/avante.nvim',

View File

@ -1,11 +0,0 @@
return {
{
'dgagn/diagflow.nvim',
-- event = 'LspAttach', This is what I use personnally and it works great
opts = {
placement = 'inline',
scope = 'cursor', -- 'cursor', 'line' this changes the scope, so instead of showing errors under the cursor, it shows errors on the entire line.
inline_padding_left = 3,
},
},
}