mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-13 22:17:05 +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} // ﵂
|
||||
}
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user