Permalink
Browse files

Merge pull request #18 from cuevee/84d7cae8841ededb6af420d81b1e309a0c…

…5f8a7f

Completion command fixed.
  • Loading branch information...
JEG2 committed Sep 12, 2011
2 parents 5eff72f + 84d7cae commit db93f1654a26bb21bb99ec53b8cab5f4a84fb857
Showing with 1 addition and 1 deletion.
  1. +1 −1 Commands/Completion: Ruby (rcodetools).tmCommand
@@ -42,7 +42,7 @@ command = <<END_COMMAND.tr("\n", " ").strip
--column=#{ENV['TM_LINE_INDEX']}
2> /dev/null
END_COMMAND
-completions = `#{command}`.to_a.map { |l| l.strip }.select { |l| l =~ /\S/ }
+completions = `#{command}`.split("\n").map { |l| l.strip }.select { |l| l =~ /\S/ }
if not $?.success?
TextMate.exit_show_tool_tip "Parse error."

0 comments on commit db93f16

Please sign in to comment.