summaryrefslogtreecommitdiff
path: root/common/home/programs/nixvim/plugins/default.nix
blob: 8b950e8a375c4c01e19d28ce0ef20844b47867e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ pkgs, ... }:
let
plugins = [
	"web-devicons"
	"nvim-tree"
	"telescope"
	"lualine"
	"treesitter"
	"typst-preview"
	"gitgutter"
];
in
builtins.listToAttrs (
	map (n: {
		name = n;
		value =
		if builtins.pathExists ./${n}.nix then
		(import ./${n}.nix { inherit pkgs; })
		else
		{ enable = true; };
		}) plugins
)