Skip to content

Commit

Permalink
Merge pull request #1043 from rsteube/jarclass-style
Browse files Browse the repository at this point in the history
ActionarFileClasses: added style
  • Loading branch information
rsteube authored Apr 14, 2022
2 parents 58b2d7c + 26b2f5d commit 7d09383
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 7d09383

Please sign in to comment.