lsp
This commit is contained in:
@ -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
8
modules/nix/nvim/lsp.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ config, pkgs, nixvim, ... }:
|
||||
{
|
||||
programs.nixvim.plugins = {
|
||||
lsp = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user