blob: 37f6afb32fd89446072723b4f933bb8f762fbe96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
flake.modules.homeManager.neovim =
{ pkgs, ... }:
{
programs.neovim = {
defaultEditor = true;
enable = true;
package = pkgs.neovim-unwrapped;
extraPackages = with pkgs; [
tree-sitter
git
ripgrep
fd
gcc
];
plugins = with pkgs.vimPlugins; [
gruvbox-nvim
mini-starter
gitsigns-nvim
nvim-autopairs
telescope-nvim
fidget-nvim
plenary-nvim
nvim-treesitter.withAllGrammars
nvim-lspconfig
nvim-cmp
cmp-nvim-lsp
cmp-buffer
cmp-path
cmp-cmdline
luasnip
cmp_luasnip
lspkind-nvim
];
extraConfig = ''
luafile ${./init.lua}
'';
};
};
}
|