@kingkeith Are you talking to me? I think so.
What I don’t understand is why this with the []
it works…
call_function_with_dict({
|
})
arr = [{
|
}]
test = ({
|
})
Just had a look at the Python’s Miscellaneous.tmPreferences
, and I saw the key TM_LINE_TERMINATOR
, which is set to :
. Do you know what’s the use of it?
In the Packages/Default/Indentation Rules.tmPreferences
, here’s the entire content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>scope</key>
<string>source</string>
<key>settings</key>
<dict>
<key>decreaseIndentPattern</key>
<string>^(.*\*/)?\s*\}[;\s]*$</string>
<key>increaseIndentPattern</key>
<string>^.*(\{[^}"']*)$</string>
<key>disableIndentNextLinePattern</key>
<string>^\s*\{[\]})]*\s*$</string>
<key>indentParens</key>
<true/>
</dict>
</dict>
</plist>
Isn’t indentParens
an error? Shouldn’t it be indentParents
? Or it means something?