summaryrefslogtreecommitdiff
path: root/seth/programs/neovim.nix
blob: 0aa6799a7f09c5cc70da250381e6c3c756798099 (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
43
44
45
46
47
48
49
{ config, lib, pkgs, ...}:

{
	programs.neovim = {
		enable = true;
		extraPackages = with pkgs; [
			black
			clang
			codespell
			nodePackages.alex
			nodePackages.bash-language-server
			nodePackages.prettier
			nodePackages.pyright
			python310Packages.flake8
			rust-analyzer
			rustfmt
			stylua
		];
		plugins = with pkgs.vimPlugins; [
			lualine-nvim
			catppuccin-nvim
			barbar-nvim
			lightspeed-nvim
			nvim-tree-lua
			nvim-lspconfig
			null-ls-nvim
			plenary-nvim
			nvim-treesitter
			nvim-cmp
			cmp-nvim-lsp
			cmp-buffer
			cmp-path
			cmp-vsnip
			vim-vsnip
			luasnip
			cmp_luasnip
			trouble-nvim
			nvim-web-devicons
			telescope-nvim
			gitsigns-nvim
			editorconfig-nvim
		];
	};

	xdg.configFile."nvim" = {
		source = ./nvim;
		recursive = true;
	};
}