mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04: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…
Reference in a new issue