mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-16 04:04:34 +02:00
plugins/telescope: refactor mkExtension
Allow importing `mkExtension` without needing to supply any dependencies. All dependencies can be accessed via module args anyway.
This commit is contained in:
parent
c674f10d18
commit
929bb0cd1c
11 changed files with 115 additions and 136 deletions
|
@ -1,10 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
(import ./_helpers.nix { inherit lib config pkgs; }).mkExtension {
|
||||
let
|
||||
mkExtension = import ./_mk-extension.nix;
|
||||
in
|
||||
mkExtension {
|
||||
name = "ui-select";
|
||||
package = "telescope-ui-select-nvim";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue