Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/guncha/go-tmbundle
Browse files Browse the repository at this point in the history
* 'master' of git://github.com/guncha/go-tmbundle:
  Fix for source filenames with spaces bug.
  • Loading branch information
puchupala committed Nov 2, 2011
2 parents eb925bb + 2714254 commit 7e21717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commands/Complete.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ document = STDIN.readlines
# byte offset of cursor position from the beginning of file
cursor = document[ 0, ENV['TM_LINE_NUMBER'].to_i - 1].join().length + ENV['TM_LINE_INDEX'].to_i
output = IO.popen("gocode -f=csv autocomplete #{ENV['TM_FILEPATH']} #{cursor}", "w+") do |pipe|
output = IO.popen("gocode -f=csv autocomplete #{cursor}", "w+") do |pipe|
pipe.puts document.join()
pipe.close_write
pipe.read
Expand Down

0 comments on commit 7e21717

Please sign in to comment.