mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nvim): add copilot chat plugin
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"ChatGPT.nvim": { "branch": "main", "commit": "df53728e05129278d6ea26271ec086aa013bed90" },
|
"ChatGPT.nvim": { "branch": "main", "commit": "df53728e05129278d6ea26271ec086aa013bed90" },
|
||||||
|
"CopilotChat.nvim": { "branch": "canary", "commit": "bac4dcc894332eddc989758d875cab84ab52944d" },
|
||||||
"LazyVim": { "branch": "main", "commit": "c6e8c5b45011210042e0791bd52baff8784ed26a" },
|
"LazyVim": { "branch": "main", "commit": "c6e8c5b45011210042e0791bd52baff8784ed26a" },
|
||||||
"LuaSnip": { "branch": "master", "commit": "de1a287c9cb525ae52bc846e8f6207e5ef1da5ac" },
|
"LuaSnip": { "branch": "master", "commit": "de1a287c9cb525ae52bc846e8f6207e5ef1da5ac" },
|
||||||
"SchemaStore.nvim": { "branch": "main", "commit": "9a5992a881583d886bfbb46631a09f736f0fae50" },
|
"SchemaStore.nvim": { "branch": "main", "commit": "9a5992a881583d886bfbb46631a09f736f0fae50" },
|
||||||
|
|||||||
13
nvim/lua/plugins/copilot-chat.lua
Normal file
13
nvim/lua/plugins/copilot-chat.lua
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
-- Chat with GitHub Copilot in Neovim
|
||||||
|
-- https://github.com/CopilotC-Nvim/CopilotChat.nvim
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"CopilotC-Nvim/CopilotChat.nvim",
|
||||||
|
branch = "canary",
|
||||||
|
dependencies = {
|
||||||
|
{ "zbirenbaum/copilot.lua" }, -- or github/copilot.vim
|
||||||
|
{ "nvim-lua/plenary.nvim" }, -- for curl, log wrapper
|
||||||
|
},
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,7 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
asdf plugin add lua
|
asdf plugin add lua
|
||||||
|
asdf install lua 5.1
|
||||||
asdf install lua latest
|
asdf install lua latest
|
||||||
asdf global lua latest
|
asdf global lua latest
|
||||||
|
|
||||||
luarocks install --server=https://luarocks.org/dev luaformatter
|
luarocks install --server=https://luarocks.org/dev luaformatter
|
||||||
|
sudo luarocks install --lua-version 5.1 tiktoken_core
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
asdf plugin add rust
|
asdf plugin add rust
|
||||||
asdf install rust latest
|
asdf install rust latest
|
||||||
|
|||||||
Reference in New Issue
Block a user