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 2757f33 commit fc8fef1Copy full SHA for fc8fef1
src/editor/CommentCompletion.ts
@@ -17,10 +17,7 @@ import { DocumentParser } from "./DocumentParser";
17
18
function isLineComment(document: vscode.TextDocument, line: number): boolean {
19
// test if line consists of just '///'
20
- if (/^\s*\/\/\//.test(document.lineAt(line).text)) {
21
- return true;
22
- }
23
- return false;
+ return /^\s*\/\/\//.test(document.lineAt(line).text);
24
}
25
26
/** CompletionItem for Swift Comments */
0 commit comments