Smarty Indent
Is there any solution to change ST3 indent patterns? As far as I can tell about this, these two files are responsible for the indentation behavior. They are in the default package ST3
Default/Indentation Rules.tmPreferences
Default/Indentation Rules - Comments.tmPreferences
But I can not find a solution to change them. Even if I went into the default plugin and changed the regular expression directly in the elevated package, it seems to change something.
I tried to create a file with syntax similar to this.
Packages/'Sytnax'/'Syntax'.tmPreferences
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Globals</string>
<key>scope</key>
<string>text.html.smarty</string>
<key>settings</key>
<dict>
// rules go here
</dict>
</dict>
</plist>
source
share