We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22c60e1 commit be8a30aCopy full SHA for be8a30a
src/utils/handle_file_utils.ts
@@ -177,7 +177,7 @@ function getFileAst (filePath: string): FileAstInfo {
177
const compilerResult = parseComponent(fileCtx);
178
if (compilerResult.script) {
179
fileCtx = compilerResult.script.content;
180
- vueScriptStartLine = getVueScriptRealStartLine(filePath) + 1;
+ vueScriptStartLine = getVueScriptRealStartLine(filePath);
181
} else {
182
fileCtx = '';
183
}
0 commit comments