Skip to content

Commit e470149

Browse files
committed
feat: add Copilot for NeoVim
1 parent 2ec4a97 commit e470149

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

.chezmoitemplates/nvim/init.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ vim.g.maplocalleader = "\\"
3939
require("lazy").setup({
4040
spec = {
4141
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
42+
{ "github/copilot.vim" },
43+
{
44+
"CopilotC-Nvim/CopilotChat.nvim",
45+
branch = "canary",
46+
dependencies = {
47+
{ "github/copilot.vim" },
48+
{ "nvim-lua/plenary.nvim" },
49+
},
50+
opts = {},
51+
},
4252
{ "folke/noice.nvim", event = "VeryLazy", opts = { }, dependencies = { } },
4353
{ "neovim/nvim-lspconfig" },
4454
{
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"lspServers": {
3+
"typescript": {
4+
"command": "bun",
5+
"args": ["x", "typescript-language-server", "--stdio"],
6+
"fileExtensions": {
7+
".ts": "typescript",
8+
".tsx": "typescript"
9+
}
10+
},
11+
"dotnet": {
12+
"command": "$HOME/.dotnet/tools/csharp-ls",
13+
"fileExtensions": {
14+
".cs": "dotnet"
15+
}
16+
},
17+
"rust": {
18+
"command": "rust-analyzer",
19+
"fileExtensions": {
20+
".rs": "rust"
21+
}
22+
},
23+
"nx": {
24+
"command": "nxls",
25+
"fileExtensions": {
26+
"nx.json": "nx"
27+
}
28+
}
29+
}
30+
}

0 commit comments

Comments
 (0)