From 745088159c7200e0d4af6b6ff15db5844620c719 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 30 Jul 2023 16:46:14 +0300 Subject: [PATCH] dev: move defaults inside submodules --- modules/filetree/nvimtree/nvimtree.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/filetree/nvimtree/nvimtree.nix b/modules/filetree/nvimtree/nvimtree.nix index 8821eebd..741e3827 100644 --- a/modules/filetree/nvimtree/nvimtree.nix +++ b/modules/filetree/nvimtree/nvimtree.nix @@ -149,12 +149,7 @@ with builtins; { Update the focused file on `BufEnter`, un-collapses the folders recursively until it finds the file. ''; - - default = { - enable = false; - updateRoot = false; - ignoreList = []; - }; + default = {}; type = types.submodule { options = { @@ -175,6 +170,7 @@ with builtins; { `update_focused_file.enable` are `true`. ''; type = with types; listOf str; + default = []; }; }; };