Merge pull request #53261 from Razoric480/lsp_crash_vim_ale
This commit is contained in:
commit
23f21ac45e
@ -409,9 +409,11 @@ String ExtendGDScriptParser::parse_documentation(int p_line, bool p_docs_down) {
|
|||||||
doc_lines.push_front(line_comment);
|
doc_lines.push_front(line_comment);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
String next_line = lines[MAX(0, i + step)].strip_edges(true, false);
|
if (i > 0 && i < lines.size() - 1) {
|
||||||
if (next_line.begins_with("#")) {
|
String next_line = lines[i + step].strip_edges(true, false);
|
||||||
continue;
|
if (next_line.begins_with("#")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user