mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-07 11:25:06 +02:00
barbar: package option
This commit is contained in:
parent
b9a4f0ca19
commit
a12b790dce
1 changed files with 7 additions and 1 deletions
|
@ -7,6 +7,12 @@ in
|
|||
options.plugins.barbar = {
|
||||
enable = mkEnableOption "Enable barbar.nvim";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.barbar-nvim;
|
||||
description = "Plugin to use for barbar";
|
||||
};
|
||||
|
||||
animations = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
|
@ -50,7 +56,7 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
barbar-nvim nvim-web-devicons
|
||||
cfg.package nvim-web-devicons
|
||||
];
|
||||
|
||||
# maps = genMaps cfg.keys;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue