From bd0dc6093cabfac891f5189829af8ad1c26735fa Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Thu, 2 Feb 2023 00:01:35 +0300 Subject: [PATCH] style: formatting --- modules/lib/types-plugin.nix | 3 ++- modules/theme/config.nix | 7 ++++++- modules/visuals/config.nix | 9 +++++---- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/modules/lib/types-plugin.nix b/modules/lib/types-plugin.nix index 3cdca58..f0c3a16 100644 --- a/modules/lib/types-plugin.nix +++ b/modules/lib/types-plugin.nix @@ -1,6 +1,6 @@ {lib}: with lib; let - # Plugin must be same as input name + # Plugin must be same as input name from flake.nix availablePlugins = [ "nvim-treesitter-context" "gitsigns-nvim" @@ -40,6 +40,7 @@ with lib; let "rust-tools" "onedark" "catppuccin" + "minimap-vim" ]; pluginsType = with types; listOf (nullOr (either (enum availablePlugins) package)); diff --git a/modules/theme/config.nix b/modules/theme/config.nix index bbe6d28..aed77f7 100644 --- a/modules/theme/config.nix +++ b/modules/theme/config.nix @@ -1,4 +1,9 @@ -{ pkgs, config, lib, ... }: +{ + pkgs, + config, + lib, + ... +}: with lib; { config = { vim.theme = { diff --git a/modules/visuals/config.nix b/modules/visuals/config.nix index 11d580d..2294f62 100644 --- a/modules/visuals/config.nix +++ b/modules/visuals/config.nix @@ -1,7 +1,8 @@ -{ pkgs -, config -, lib -, ... +{ + pkgs, + config, + lib, + ... }: with lib; { config = {