mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-15 22:26:40 +02:00
fix formatting
This commit is contained in:
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user