1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-05-15 22:26:40 +02:00

fix formatting

This commit is contained in:
Scott McKendry 2023-12-21 16:39:36 +13:00 committed by Jesse Duffield
parent 08bd36ea78
commit 2317dac730

View File

@ -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