Skip to content

Commit

Permalink
refactor: provide a prefix matcher for the commit subject
Browse files Browse the repository at this point in the history
  • Loading branch information
lppedd committed Nov 25, 2019
1 parent 245f409 commit e81bc86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ internal class CommitCompletionProvider : CompletionProvider<CompletionParameter

if (subjectCtx != null) {
resultSet
.withPrefixMatcher(PrefixMatcher.ALWAYS_TRUE)
.withPrefixMatcher(commitTokens.subject.value)
.withRelevanceSorter(sorter(CommitSubjectElementWeigher))
.also { rs ->
safelyReleaseSemaphore(parameters.process)
Expand Down

0 comments on commit e81bc86

Please sign in to comment.