diff --git a/lua/custom/plugins/avante.lua b/lua/custom/plugins/avante.lua index d6b9aa11..c838f66d 100644 --- a/lua/custom/plugins/avante.lua +++ b/lua/custom/plugins/avante.lua @@ -7,6 +7,7 @@ return { provider = 'copilot', cursor_applying_provider = 'copilot', copilot = { + model = 'claude-3.7-sonnet', temperature = 0, max_tokens = 8192, }, @@ -23,6 +24,7 @@ return { 'nvim-telescope/telescope.nvim', -- for file_selector provider telescope 'hrsh7th/nvim-cmp', -- autocompletion for avante commands and mentions 'nvim-tree/nvim-web-devicons', -- or echasnovski/mini.icons + 'zbirenbaum/copilot.lua', -- for providers='copilot' { -- Make sure to set this up properly if you have lazy=true 'MeanderingProgrammer/render-markdown.nvim', diff --git a/lua/custom/plugins/copilot.lua b/lua/custom/plugins/copilot.lua index e7398ffa..fa9920e9 100644 --- a/lua/custom/plugins/copilot.lua +++ b/lua/custom/plugins/copilot.lua @@ -18,11 +18,7 @@ return { }, }, filetypes = { - yaml = true, - markdown = true, - golang = true, - rust = true, - lua = true, + ['*'] = true, help = false, gitcommit = false, gitrebase = false, @@ -30,7 +26,6 @@ return { svn = false, cvs = false, json = false, - ['*'] = false, }, }