Skip to content

Commit

Permalink
reword comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Dec 18, 2021
1 parent 8c7ef90 commit 9fc0539
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ final class AsyncCommandSuggestionsListener<C> implements Listener {

@EventHandler
void onTabCompletion(final @NonNull AsyncTabCompleteEvent event) {
/* Turn '(/)plugin:command arg1 arg2 ...' into 'plugin:command arg1 arg2 ...' */
// Strip leading slash
final String strippedBuffer = event.getBuffer().startsWith("/")
? event.getBuffer().substring(1)
: event.getBuffer();
Expand Down

0 comments on commit 9fc0539

Please sign in to comment.