mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +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,10 +1,9 @@
|
|||
{
|
||||
config,
|
||||
helpers,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
helpers.vim-plugin.mkVimPlugin config {
|
||||
helpers.vim-plugin.mkVimPlugin {
|
||||
name = "committia";
|
||||
originalName = "committia.vim";
|
||||
defaultPackage = pkgs.vimPlugins.committia-vim;
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
helpers,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
helpers.vim-plugin.mkVimPlugin config {
|
||||
helpers.vim-plugin.mkVimPlugin {
|
||||
name = "fugitive";
|
||||
originalName = "vim-fugitive";
|
||||
defaultPackage = pkgs.vimPlugins.vim-fugitive;
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
{
|
||||
lib,
|
||||
helpers,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
# We use `mkVimPlugin` to avoid having a `settings` option.
|
||||
# Indeed, this plugin is not configurable in the common sense (no `setup` function).
|
||||
helpers.vim-plugin.mkVimPlugin config {
|
||||
helpers.vim-plugin.mkVimPlugin {
|
||||
name = "gitignore";
|
||||
originalName = "gitignore.nvim";
|
||||
defaultPackage = pkgs.vimPlugins.gitignore-nvim;
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
helpers,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
helpers.vim-plugin.mkVimPlugin config {
|
||||
helpers.vim-plugin.mkVimPlugin {
|
||||
name = "lazygit";
|
||||
originalName = "lazygit.nvim";
|
||||
defaultPackage = pkgs.vimPlugins.lazygit-nvim;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue