mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-14 06:38:44 +02:00
nvim-tree: package option
This commit is contained in:
parent
30dd9054e1
commit
79e3ccd055
1 changed files with 7 additions and 1 deletions
|
@ -8,6 +8,12 @@ in
|
|||
options.plugins.nvim-tree = {
|
||||
enable = mkEnableOption "Enable nvim-tree";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.nvim-tree-lua;
|
||||
description = "Plugin to use for nvim-tree";
|
||||
};
|
||||
|
||||
disableNetrw = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
|
@ -257,7 +263,7 @@ in
|
|||
in
|
||||
mkIf cfg.enable {
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
nvim-tree-lua
|
||||
cfg.package
|
||||
nvim-web-devicons
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue