mirror of
https://github.com/softinio/nix-config.git
synced 2025-10-19 03:26:40 -07:00
jj update and corrections for github copilot lsp
This commit is contained in:
parent
6b37f9ec83
commit
82aa68744f
4 changed files with 33 additions and 9 deletions
|
@ -30,6 +30,7 @@
|
|||
enable = true;
|
||||
menu = {
|
||||
nvim_lsp = "[LSP]";
|
||||
copilot-vim = "[copilot]";
|
||||
luasnip = "[snip]";
|
||||
buffer = "[buffer]";
|
||||
path = "[path]";
|
||||
|
@ -67,6 +68,7 @@
|
|||
|
||||
sources = [
|
||||
{ name = "nvim_lsp"; }
|
||||
{ name = "copilot-vim"; }
|
||||
{ name = "luasnip"; }
|
||||
{
|
||||
name = "buffer";
|
||||
|
|
|
@ -1,11 +1,17 @@
|
|||
{ ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
programs.nixvim.plugins = {
|
||||
# GitHub Copilot
|
||||
copilot-vim.enable = true;
|
||||
programs.nixvim = {
|
||||
plugins = {
|
||||
# GitHub Copilot
|
||||
copilot-vim.enable = true;
|
||||
|
||||
# Avante AI assistant (imported from separate file)
|
||||
# avante config is in avante.nix
|
||||
# Avante AI assistant (imported from separate file)
|
||||
# avante config is in avante.nix
|
||||
};
|
||||
|
||||
globals = {
|
||||
copilot_node_command = lib.mkForce "${pkgs.nodejs-slim}/bin/node";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue