Skip to content

Commit

Permalink
fix: copilot
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone committed Sep 1, 2024
1 parent 9a5f691 commit ff60d97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
3 changes: 1 addition & 2 deletions lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"ChatGPT.nvim": { "branch": "main", "commit": "4d9d297c2409c8ebc715da7f1d7705a221564555" },
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
"avante.nvim": { "branch": "main", "commit": "1f0395ccd0fd54a98009eacf629f7fae429fb632" },
"beacon.nvim": { "branch": "master", "commit": "098ff96c33874339d5e61656f3050dbd587d6bd5" },
"bookmarks.nvim": { "branch": "main", "commit": "67610c62c8bb9b7799afd8a307b8727143bc097b" },
"bufferline.nvim": { "branch": "main", "commit": "0b2fd861eee7595015b6561dade52fb060be10c4" },
Expand All @@ -15,6 +14,7 @@
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
"codecompanion.nvim": { "branch": "main", "commit": "23c923eddb39ff3f2d2b0ff77502316ac6571248" },
"copilot.lua": { "branch": "master", "commit": "86537b286f18783f8b67bccd78a4ef4345679625" },
"copilot.vim": { "branch": "release", "commit": "a9fa7946d7307ceb138bfe2706ba75febf6450da" },
"dashboard-nvim": { "branch": "master", "commit": "fabf5feec96185817c732d47d363f34034212685" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
Expand All @@ -32,4 +32,3 @@
"highlight-undo.nvim": { "branch": "main", "commit": "1ea1c79372d7d93c88fd97543880927b7635e3d2" },
"indent-blankline.nvim": { "branch": "master", "commit": "db926997af951da38e5004ec7b9fbdc480b48f5d" },
"inlay-hints.nvim": { "branch": "main", "commit": "006b0898f5d3874e8e528352103733142e705834" },
"kubectl.nvim": { "branch": "main", "commit": "cf0ddcc9413047495960c265e50a27ae1684e19e" },
8 changes: 0 additions & 8 deletions lua/layers/completion/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ local configs = require('layers.completion.configs')

cosmos.add_plugin('github/copilot.vim', {
dependencies = { 'hrsh7th/nvim-cmp' },
event = 'BufRead',
})

cosmos.add_plugin('hrsh7th/nvim-cmp', {
Expand Down Expand Up @@ -85,12 +84,6 @@ cosmos.add_plugin('yetone/avante.nvim', {
openai = {
model = 'gpt-4o',
},
-- mappings = {
-- submit = {
-- normal = "<CR>",
-- insert = "<C-x>",
-- },
-- },
windows = {
wrap = true,
sidebar_header = {
Expand All @@ -99,7 +92,6 @@ cosmos.add_plugin('yetone/avante.nvim', {
},
},
vendors = {
---@type AvanteProvider
perplexity = {
endpoint = 'https://api.perplexity.ai/chat/completions',
model = 'llama-3.1-sonar-large-128k-online',
Expand Down

0 comments on commit ff60d97

Please sign in to comment.