This commit is contained in:
Kovid Goyal 2025-11-23 10:24:40 +05:30
parent ffac770cce
commit 2184d3b7d0
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -216,7 +216,7 @@ type TextFilePreview struct {
}
func (p *TextFilePreview) String() string {
return fmt.Sprint("TextFilePreview{%#v, ready: %v}", p.path, p.ready.Load())
return fmt.Sprintf("TextFilePreview{%#v, ready: %v}", p.path, p.ready.Load())
}
func (p *TextFilePreview) IsValidForColorScheme(light bool) bool { return p.light == light }