lib/vim-plugin: drop config arg

Instead, access it via an imported module
This commit is contained in:
Matt Sturgeon 2024-09-01 12:36:31 +01:00
parent 9b0e2ba7e5
commit 2a054b039e
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
45 changed files with 67 additions and 102 deletions

View file

@ -1,6 +1,5 @@
{
lib,
config,
pkgs,
...
}:
@ -15,7 +14,7 @@ let
] pluginDefault desc;
in
lib.nixvim.vim-plugin.mkVimPlugin config {
lib.nixvim.vim-plugin.mkVimPlugin {
name = "everforest";
isColorscheme = true;
defaultPackage = pkgs.vimPlugins.everforest;

View file

@ -1,10 +1,9 @@
{
lib,
config,
pkgs,
...
}:
lib.nixvim.vim-plugin.mkVimPlugin config {
lib.nixvim.vim-plugin.mkVimPlugin {
name = "melange";
isColorscheme = true;
originalName = "melange-nvim";

View file

@ -1,13 +1,12 @@
{
lib,
config,
pkgs,
...
}:
let
inherit (lib.nixvim) defaultNullOpts;
in
lib.nixvim.vim-plugin.mkVimPlugin config {
lib.nixvim.vim-plugin.mkVimPlugin {
name = "nord";
isColorscheme = true;
originalName = "nord.nvim";

View file

@ -1,10 +1,9 @@
{
lib,
config,
pkgs,
...
}:
lib.nixvim.vim-plugin.mkVimPlugin config {
lib.nixvim.vim-plugin.mkVimPlugin {
name = "one";
isColorscheme = true;
originalName = "vim-one";

View file

@ -1,10 +1,9 @@
{
lib,
config,
pkgs,
...
}:
lib.nixvim.vim-plugin.mkVimPlugin config {
lib.nixvim.vim-plugin.mkVimPlugin {
name = "oxocarbon";
isColorscheme = true;
originalName = "oxocarbon.nvim";