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,14 +1,13 @@
{
lib,
helpers,
config,
pkgs,
...
}:
with lib;
# This plugin is only configured through keymaps, so we use `mkVimPlugin` without the
# `globalPrefix` argument to avoid the creation of the `settings` option.
helpers.vim-plugin.mkVimPlugin config {
helpers.vim-plugin.mkVimPlugin {
name = "improved-search";
originalName = "improved-search.nvim";
defaultPackage = pkgs.vimPlugins.improved-search-nvim;