Merge pull request #80365 from dalexeev/gds-allow-mix-indent-on-blank-lines

GDScript: Allow mixed indentation on blank lines
This commit is contained in:
Rémi Verschelde 2023-08-17 11:25:04 +02:00
commit e71ec0b5eb
No known key found for this signature in database
GPG key ID: C3336907360768E1
4 changed files with 35 additions and 9 deletions

View file

@ -0,0 +1,2 @@
[*.{gd,out}]
trim_trailing_whitespace = false

View file

@ -0,0 +1,20 @@
# Empty line:
# Comment line:
# Comment.
func test():
print(1)
if true:
# Empty line:
print(2)
# Comment line:
# Comment.
print(3)

View file

@ -0,0 +1,4 @@
GDTEST_OK
1
2
3