Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry authored and jesseduffield committed Jul 6, 2024
1 parent 6e57834 commit d6fe65e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pkg/gui/presentation/icons/file_icons.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,12 +328,7 @@ func patchFileIconsForNerdFontsV2() {
extIconMap[".vue"] = IconProperties{Icon: "\ufd42", Color: 113} // ﵂
}

func IconForFile(
name string,
isSubmodule bool,
isLinkedWorktree bool,
isDirectory bool,
) IconProperties {
func IconForFile(name string, isSubmodule bool, isLinkedWorktree bool, isDirectory bool) IconProperties {
base := filepath.Base(name)
if icon, ok := nameIconMap[base]; ok {
return icon
Expand Down

0 comments on commit d6fe65e

Please sign in to comment.