mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-08 11:47:18 +00:00
plugins/neo-tree: init module
This commit is contained in:
parent
1426c83ce6
commit
6d90adf793
6 changed files with 42 additions and 1 deletions
20
modules/plugins/filetree/neo-tree/config.nix
Normal file
20
modules/plugins/filetree/neo-tree/config.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf;
|
||||
|
||||
cfg = config.vim.filetree.neo-tree;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
vim.startPlugins = [
|
||||
# dependencies
|
||||
"plenary-nvim" # commons library
|
||||
"image-nvim" # optional for image previews
|
||||
"nui-nvim" # ui library
|
||||
# neotree
|
||||
"neo-tree-nvim"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue