Completion command fixed. #18

merged 1 commit into from Sep 12, 2011


None yet
2 participants

cuevee commented Sep 12, 2011

Replaced the call to to_a on the results so that an array is returned by splitting on newlines instead.

completions = `#{command}`.split("\n").map { |l| l.strip }.select { |l| l =~ /\S/ }

JEG2 added a commit that referenced this pull request Sep 12, 2011

@JEG2 JEG2 merged commit db93f16 into textmate:master Sep 12, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment