Skip to content

Commit 5687580

Browse files
committed
Def: fix line output. Merge branch 'newlix/master'
2 parents c3c081e + 3a79fe0 commit 5687580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Commands/Def.tmCommand

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if err.nil? || err == ''
4040
file_details = out.split(':')
4141
file = Pathname.new(file_details[0]).realpath
4242
TextMate.go_to(:file => file,
43-
:line => file_details[1],
43+
:line => file_details[1].to_i,
4444
:column => file_details[2].to_i)
4545
elsif err.casecmp "godef: no identifier found";
4646
require "#{ENV['TM_SUPPORT_PATH']}/lib/ui.rb"

0 commit comments

Comments
 (0)