i dont want to just type each plugin name in the import list
This commit is contained in:
parent
0e214b7d96
commit
c25f5b6839
1 changed files with 5 additions and 13 deletions
|
|
@ -1,16 +1,8 @@
|
||||||
{
|
{lib, ...}:{
|
||||||
# settings of these plugins live in their respective files
|
imports = lib.mapAttrsToList (name: path: ./. + "/${name}")
|
||||||
imports = [
|
(lib.filterAttrs (filename: kind:
|
||||||
./blink-cmp.nix
|
filename != "default.nix" && (kind == "regular" || kind == "directory"))
|
||||||
./cmp.nix
|
(builtins.readDir ./.));
|
||||||
./comment.nix
|
|
||||||
./gitsigns.nix
|
|
||||||
./lsp.nix
|
|
||||||
./mini.nix
|
|
||||||
./oil.nix
|
|
||||||
./treesitter.nix
|
|
||||||
./which-key.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
# todo comments highlighter
|
# todo comments highlighter
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue