Skip to content

Commit

Permalink
Merge pull request #18 from cuevee/84d7cae8841ededb6af420d81b1e309a0c…
Browse files Browse the repository at this point in the history
…5f8a7f

Completion command fixed.
  • Loading branch information
JEG2 committed Sep 12, 2011
2 parents 5eff72f + 84d7cae commit db93f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commands/Completion: Ruby (rcodetools).tmCommand
Expand Up @@ -42,7 +42,7 @@ command = <<END_COMMAND.tr("\n", " ").strip
--column=#{ENV['TM_LINE_INDEX']} --column=#{ENV['TM_LINE_INDEX']}
2> /dev/null 2> /dev/null
END_COMMAND 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? if not $?.success?
TextMate.exit_show_tool_tip "Parse error." TextMate.exit_show_tool_tip "Parse error."
Expand Down

0 comments on commit db93f16

Please sign in to comment.