plugin/theme: add dev icons
This commit is contained in:
parent
0453314971
commit
252f3cf2a6
2 changed files with 13 additions and 2 deletions
12
default.nix
12
default.nix
|
@ -1,4 +1,10 @@
|
|||
{ wrapNeovim, neovim-unwrapped, vimPlugins, ... }:
|
||||
{ enableBarBar ? false
|
||||
, enableDevIcons ? false
|
||||
, wrapNeovim
|
||||
, neovim-unwrapped
|
||||
, vimPlugins
|
||||
, ...
|
||||
}:
|
||||
|
||||
let
|
||||
lib = import ./lib.nix;
|
||||
|
@ -11,7 +17,9 @@ let
|
|||
plugins = callPlugins [
|
||||
./plugins/syntax
|
||||
./plugins/explorer
|
||||
(import ./plugins/theme { })
|
||||
(import ./plugins/theme {
|
||||
inherit enableBarBar enableDevIcons;
|
||||
})
|
||||
./plugins/lsp
|
||||
./plugins/formatter
|
||||
];
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{ enableBarBar ? false
|
||||
, enableDevIcons ? false
|
||||
}:
|
||||
|
||||
{ lib
|
||||
|
@ -6,6 +7,7 @@
|
|||
, lualine-nvim
|
||||
, lualine-lsp-progress
|
||||
, barbar-nvim
|
||||
, nvim-web-devicons
|
||||
, ...
|
||||
}:
|
||||
|
||||
|
@ -19,5 +21,6 @@ in
|
|||
|
||||
plugins = [ catppuccin-nvim ]
|
||||
++ lualinePlugins
|
||||
++ (lib.optional enableDevIcons [ nvim-web-devicons ])
|
||||
++ (lib.optional enableBarBar [ barbar-nvim ]);
|
||||
}
|
||||
|
|
Reference in a new issue