aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/editor/neovim/plugins/default.nix
blob: 6e4f8441026ac825ad001ded0b6740ce2e533687 (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
{ config, pkgs, lib }:

{
	configuration = import ./config { inherit config; };

	list = with pkgs.vimPlugins; lib.mkMerge [
		[
			comment-nvim
			lualine-nvim
			nvim-treesitter
			nvim-web-devicons
			nvim-tree-lua
			(base16-vim.overrideAttrs (old: {
				patchPhase = "ln -s ${config.scheme base16-vim} colors/base16-scheme.vim";
			}))
		]
		(if config.tools.editor.neovim.configuration == "full" then
			[
				nvim-lspconfig
			]
		else null)
	];

	requirements = with pkgs; [
		gcc # for treesitter
	];
}