mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-03 00:57:52 +02:00
fix formatting
This commit is contained in:
committed by
Jesse Duffield
parent
08bd36ea78
commit
2317dac730
@ -328,12 +328,7 @@ func patchFileIconsForNerdFontsV2() {
|
|||||||
extIconMap[".vue"] = IconProperties{Icon: "\ufd42", Color: 113} // ﵂
|
extIconMap[".vue"] = IconProperties{Icon: "\ufd42", Color: 113} // ﵂
|
||||||
}
|
}
|
||||||
|
|
||||||
func IconForFile(
|
func IconForFile(name string, isSubmodule bool, isLinkedWorktree bool, isDirectory bool) IconProperties {
|
||||||
name string,
|
|
||||||
isSubmodule bool,
|
|
||||||
isLinkedWorktree bool,
|
|
||||||
isDirectory bool,
|
|
||||||
) IconProperties {
|
|
||||||
base := filepath.Base(name)
|
base := filepath.Base(name)
|
||||||
if icon, ok := nameIconMap[base]; ok {
|
if icon, ok := nameIconMap[base]; ok {
|
||||||
return icon
|
return icon
|
||||||
|
Reference in New Issue
Block a user