<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 22.08.2016, at 15:05 , Allan Odgaard <<a href="mailto:mailinglist@textmate.org" class="">mailinglist@textmate.org</a>> wrote:</div><div class=""><div class=""><div style="font-family:sans-serif" class="">
<div style="white-space:normal" class="">

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7" class=""><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7" class="">require "#{ENV['TM_SUPPORT_PATH']}/lib/exit_codes"

TextMate.exit_discard
</code></pre><p dir="auto" class="">It is possible to disable the indent of snippet output, but in the normal case, I assume you do want the indent, as I don’t think it is possible for you to figure out what the current indent is (since your command gets a selection that doesn’t start at first column).</p><p dir="auto" class="">We could introduce a new <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7" class="">exit_insert_as_snippet_without_indent</code> so that a command would be able to just temporarily disable the indent.</p></div></div></div></div></blockquote>Why not just run the normal indentation on the commands output?</div><div><br class=""></div><div><br class=""></div></body></html>