forked from sascha/godot
Merge pull request #80365 from dalexeev/gds-allow-mix-indent-on-blank-lines
GDScript: Allow mixed indentation on blank lines4.2
commit
e71ec0b5eb
@ -0,0 +1,2 @@
|
||||
[*.{gd,out}]
|
||||
trim_trailing_whitespace = false
|
||||
@ -0,0 +1,20 @@
|
||||
# Empty line:
|
||||
|
||||
|
||||
# Comment line:
|
||||
# Comment.
|
||||
|
||||
func test():
|
||||
print(1)
|
||||
|
||||
if true:
|
||||
|
||||
# Empty line:
|
||||
|
||||
|
||||
print(2)
|
||||
|
||||
# Comment line:
|
||||
# Comment.
|
||||
|
||||
print(3)
|
||||
@ -0,0 +1,4 @@
|
||||
GDTEST_OK
|
||||
1
|
||||
2
|
||||
3
|
||||
Loading…
Reference in New Issue