docs: improve code comments (#2349)

* docs: annotate `app` struct fields

* docs: annotate `file` struct fields

* docs: improve existing code comments

* docs: add new code comments
This commit is contained in:
CatsDeservePets authored and GitHub committed 2026-01-14 00:16:23 +01:00
1 parent a96bdae71a
commit 48689f9eab
4 files changed
+37 -36

No files matched your search

+1 -1
View File
@@ -751,7 +751,7 @@ func (ui *ui) echoerrf(format string, a ...any) {
ui.echoerr(fmt.Sprintf(format, a...))
}
// This represents the preview for a regular file.
// This represents the preview for a file.
// This can also be used to represent the preview of a directory if
// `dirpreviews` is enabled.
type reg struct {