From 693417be4f1b03940ec8fab905e3b0b99a6be9de Mon Sep 17 00:00:00 2001 From: Xhofe Date: Tue, 15 Feb 2022 14:51:50 +0800 Subject: [PATCH] :wrench: add hide files setting item --- bootstrap/setting.go | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/bootstrap/setting.go b/bootstrap/setting.go index 198cade2..434240f8 100644 --- a/bootstrap/setting.go +++ b/bootstrap/setting.go @@ -65,11 +65,18 @@ func InitSettings() { Description: "text type extensions", Group: model.FRONT, }, + //{ + // Key: "hide readme file", + // Value: "true", + // Type: "bool", + // Description: "hide readme file? ", + // Group: model.FRONT, + //}, { - Key: "hide readme file", - Value: "true", - Type: "bool", - Description: "hide readme file? ", + Key: "hide files", + Value: "/\\/README.md/i", + Type: "text", + Description: "hide files, support RegExp, one per line", Group: model.FRONT, }, {