mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-15 03:34:31 +02:00
lib/vim-plugin: drop config
arg
Instead, access it via an imported module
This commit is contained in:
parent
9b0e2ba7e5
commit
2a054b039e
45 changed files with 67 additions and 102 deletions
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue