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 6cf1597 commit f407bf4Copy full SHA for f407bf4
server/aws-lsp-codewhisperer/src/language-server/auto-trigger/autoTrigger.ts
@@ -53,7 +53,7 @@ export const triggerType = (fileContext: FileContext): CodewhispererAutomatedTri
53
}
54
55
const lastLF = fileContext.leftFileContent.lastIndexOf('\n')
56
- if (lastLF >= 0 && fileContext.leftFileContent.substring(lastLF + 2).trim() === '') {
+ if (lastLF >= 0 && fileContext.leftFileContent.substring(lastLF + 1).trim() === '') {
57
return 'Enter'
58
59
0 commit comments