mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 12:28:48 +01:00
⚡ Support for saving .sy files in the single-line format https://github.com/siyuan-note/siyuan/issues/8712
This commit is contained in:
parent
eb65bb4ec0
commit
9eeee3965a
13 changed files with 55 additions and 22 deletions
|
|
@ -30,6 +30,7 @@ type FileTree struct {
|
|||
AllowCreateDeeper bool `json:"allowCreateDeeper"` // 允许创建超过 7 层深度的子文档
|
||||
RemoveDocWithoutConfirm bool `json:"removeDocWithoutConfirm"` // 删除文档时是否不需要确认
|
||||
CloseTabsOnStart bool `json:"closeTabsOnStart"` // 启动时关闭所有页签
|
||||
UseSingleLineSave bool `json:"useSingleLineSave"` // 使用单行保存 .sy 文件
|
||||
|
||||
Sort int `json:"sort"` // 排序方式
|
||||
}
|
||||
|
|
@ -43,5 +44,6 @@ func NewFileTree() *FileTree {
|
|||
MaxOpenTabCount: 8,
|
||||
AllowCreateDeeper: false,
|
||||
CloseTabsOnStart: false,
|
||||
UseSingleLineSave: util.UseSingleLineSave,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue