Skip to content

Commit

Permalink
ActionarFileClasses: added style
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Apr 14, 2022
1 parent 58b2d7c commit 26b2f5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/actions/fs/jar.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"strings"

"github.com/rsteube/carapace"
"github.com/rsteube/carapace/pkg/style"
)

// ActionJarFileClasses completes classes within a jar file
Expand All @@ -25,7 +26,7 @@ func ActionJarFileClasses(file string) carapace.Action {
vals = append(vals, name)
}
}
return carapace.ActionValues(vals...)
return carapace.ActionValues(vals...).Style(style.ForPathExt(".class"))
}
})
}

0 comments on commit 26b2f5d

Please sign in to comment.