Skip to content

Commit

Permalink
TextMate commands should always use tabs for indentation; TextMate wi…
Browse files Browse the repository at this point in the history
…ll automatically convert the indentation into the user’s selected preference.

Signed-off-by: Dr Nic Williams <drnicwilliams@gmail.com>
  • Loading branch information
ciaran authored and drnic committed Dec 22, 2008
1 parent b5b4a36 commit 589f6e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Support/bin/intelligent_migration_snippet.rb
Expand Up @@ -78,8 +78,7 @@
}

def indent(code)
spaces = ' ' * (2 * ENV['TM_TAB_SIZE'].to_i)
lines = code.to_a.collect { |s| spaces + s }
lines = code.to_a.collect { |s| "\t\t" + s }
lines.to_s + "\n"
end

Expand Down

0 comments on commit 589f6e7

Please sign in to comment.