mirror of
https://github.com/apple/pkl.git
synced 2026-03-27 19:41:18 +01:00
Normalize mutli-line string indentation (#1271)
This commit is contained in:
@@ -27,3 +27,23 @@ qux = """
|
||||
|
||||
\(foo)
|
||||
"""
|
||||
|
||||
// mixed tabs and spaces
|
||||
quux {
|
||||
// space tab
|
||||
"""
|
||||
bar
|
||||
|
||||
baz
|
||||
\(1)
|
||||
|
||||
"""
|
||||
// tab tab
|
||||
"""
|
||||
bar
|
||||
|
||||
baz
|
||||
\(1)
|
||||
|
||||
"""
|
||||
}
|
||||
|
||||
@@ -29,3 +29,23 @@ qux =
|
||||
|
||||
\(foo)
|
||||
"""
|
||||
|
||||
// mixed tabs and spaces
|
||||
quux {
|
||||
// space tab
|
||||
"""
|
||||
bar
|
||||
|
||||
baz
|
||||
\(1)
|
||||
|
||||
"""
|
||||
// tab tab
|
||||
"""
|
||||
bar
|
||||
|
||||
baz
|
||||
\(1)
|
||||
|
||||
"""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user