Makes LSP report new() as _init; fixes docstrings

This commit is contained in:
Francois Belair 2021-09-26 13:15:24 -04:00
parent 8fb06b45d1
commit ae3aec1dbc
3 changed files with 10 additions and 3 deletions

View file

@ -409,6 +409,10 @@ String ExtendGDScriptParser::parse_documentation(int p_line, bool p_docs_down) {
doc_lines.push_front(line_comment);
}
} else {
String next_line = lines[MAX(0, i + step)].strip_edges(true, false);
if (next_line.begins_with("#")) {
continue;
}
break;
}
}