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 9a7de32 commit bfd0159Copy full SHA for bfd0159
libs/remix-ui/editor/src/lib/providers/inlineCompletionProvider.ts
@@ -38,7 +38,7 @@ export class RemixInLineCompletionProvider implements monacoTypes.languages.Inli
38
39
try {
40
const split = word.split('\n')
41
- if (!split.length) return
+ if (split.length < 2) return
42
const ask = split[split.length - 2].trimStart()
43
if (split[split.length - 1].trim() === '' && ask.startsWith('///')) {
44
// use the code generation model
0 commit comments