feat: Go to shows a repo file's icon before its name (#85)

Co-authored-by: Karl-Einar Bergstrøm <karl-einarb@outlook.com>
This commit was merged in pull request #85.
This commit is contained in:
keb authored and Karl-Einar Bergstrøm committed 2026-10-15 14:31:10 +02:00
1 parent 0f5248d8f6
commit e2f289da5c
4 files changed
+58 -29

No files matched your search

+1 -1
View File
@@ -269,7 +269,7 @@ func (m Model) refLabel(r ref.Ref) string {
default:
path = append(path, r.ContainerName(), r.Name)
}
label := m.pathLabel(r.Kind, path, "")
label := m.pathLabel(r.Kind, path, "", m.refFileIcon(r))
var extra []string
if t := strings.ToLower(pluralLabels[r.Type]); t != "" && r.Type != provider.TypeSecret {
if r.IsContainer() {