On 2. Apr 2007, at 06:44, Cliff Joyce wrote:
[...]
You can have it inserted without the snippet being indented to the current level, the following trick works for tmSnippet files as well: http://lists.macromates.com/pipermail/textmate/2007-March/ 018523.html
Thanks for the quick reply, Allan (and sorry for my replying previously without a subject; I am new to the list and this was my first posting).
I tried it, but I must not be putting the disableOutputAutoIndent key in the correct place (I tried several). Below is the contents of my snippet's plist file. Where would I place the disableOutputAutoIndent key code below?
<key>disableOutputAutoIndent</key>
<true/>
Sorry, when using this for snippets, the ‘Output’ part should not be there.
<?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>
So this is what to add, after <dict>:
<key>disableAutoIndent</key> <true/>