mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2026-01-05 14:10:13 +03:00
single if-else statement
This commit is contained in:
@@ -114,6 +114,9 @@ class GDScriptDiagnosticSeverity {
|
||||
return
|
||||
if(line.match(/.*?\sif\s+(\!|\[|\{|\w).*?\s+else\s+[^\s]+/))
|
||||
return
|
||||
if(line.match(/.*?if.*else.*/)) {
|
||||
return
|
||||
}
|
||||
if (line.match(/.*?\\/))
|
||||
expectEndOfLine = true;
|
||||
else if (line.match(/.*?\:[\s+]+[^#\s]+/))
|
||||
|
||||
Reference in New Issue
Block a user