From 53579ed0c5295915304a4bb7ede33b851973b6b7 Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Thu, 7 Feb 2013 05:39:32 -0600 Subject: [PATCH] Don't re-indent code as it is being commented in/out. When commenting or uncommenting text we want to leave the text as it is rather than indenting to the point of the first like a normal command. Fixes textmate/textmate#387, however it will require a TextMate update as this flag is not currently enabled in 2.0. --- Commands/Toggle comment.plist | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Commands/Toggle comment.plist b/Commands/Toggle comment.plist index 91b826e..d58ba94 100644 --- a/Commands/Toggle comment.plist +++ b/Commands/Toggle comment.plist @@ -154,17 +154,27 @@ when "block" # apply comment around selection end end + disableOutputAutoIndent + fallbackInput line input selection + inputFormat + text keyEquivalent @/ name Comment Line / Selection - output - insertAsSnippet + outputCaret + afterOutput + outputFormat + snippet + outputLocation + replaceInput uuid 73EAE95D-A09C-4FC2-B4E3-42505678B57E + version + 2