This commit is contained in:
meml0rz
2024-11-12 01:08:32 +01:00
parent a402adf189
commit 7c585ddf73
2 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,9 @@
{ config, pkgs, nixvim, ...}:
{
programs.nixvim = {
programs.nixvim.plugins = {
cmp-nvim-lsp.enable = true;
cmp-path.enable = true;
cmp-buffer.enable = true;
cmp = {
enable = true;
autoEnableSources = true;
@ -10,7 +13,6 @@
{name = "buffer";}
{name = "luasnip";}
];
mapping = {
"<CR>" = "cmp.mapping.confirm({ select = true })";
"<Tab>" = {

8
modules/nix/nvim/lsp.nix Normal file
View File

@ -0,0 +1,8 @@
{ config, pkgs, nixvim, ... }:
{
programs.nixvim.plugins = {
lsp = {
enable = true;
};
};
}