mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-14 22:52:29 +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 = {
|
options.plugins.nvim-tree = {
|
||||||
enable = mkEnableOption "Enable 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 {
|
disableNetrw = mkOption {
|
||||||
type = types.nullOr types.bool;
|
type = types.nullOr types.bool;
|
||||||
default = null;
|
default = null;
|
||||||
|
@ -257,7 +263,7 @@ in
|
||||||
in
|
in
|
||||||
mkIf cfg.enable {
|
mkIf cfg.enable {
|
||||||
extraPlugins = with pkgs.vimPlugins; [
|
extraPlugins = with pkgs.vimPlugins; [
|
||||||
nvim-tree-lua
|
cfg.package
|
||||||
nvim-web-devicons
|
nvim-web-devicons
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue