We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84a398d commit 643feb2Copy full SHA for 643feb2
redisinsight/ui/src/pages/workbench/utils/searchSuggestions.ts
@@ -37,7 +37,7 @@ export const findSuggestionsByArg = (
37
const [beforeOffsetArgs, [currentOffsetArg]] = args
38
39
const startCommentIndex = beforeOffsetArgs.findIndex((el) => el.startsWith('//'))
40
- if (startCommentIndex > -1) {
+ if (startCommentIndex > -1 || currentOffsetArg?.startsWith('//')) {
41
return {
42
suggestions: asSuggestionsRef([]),
43
helpWidget: { isOpen: false }
0 commit comments