mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-03 01:25:57 +00:00
feat(nvimtree): add custom setup options
This commit is contained in:
parent
2ea98f643b
commit
53c00f448d
2 changed files with 239 additions and 233 deletions
|
|
@ -3,11 +3,13 @@
|
|||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkOption types literalExpression;
|
||||
inherit (lib) mkEnableOption mkOption types literalExpression nvim;
|
||||
in {
|
||||
options.vim.filetree.nvimTree = {
|
||||
enable = mkEnableOption "filetree via nvim-tree.lua";
|
||||
|
||||
setupOpts = nvim.types.mkPluginSetupOption "Nvim Tree" {};
|
||||
|
||||
mappings = {
|
||||
toggle = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue