Skip to content

Commit

Permalink
gofmt no longer supports -tabwidth or -tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
syscrusher committed Jun 25, 2014
1 parent 8745eca commit 122fb55
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Support/gomate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ def Go::gofmt

args = []
args.push(gofmt_cmd)
args.push("-tabwidth=#{ENV['TM_TAB_SIZE']}")
if ENV['TM_SOFT_TABS'] && ENV['TM_SOFT_TABS'] == 'YES'
args.push('-tabs=false')
else
args.push('-tabs=true')
end
args.push(ENV['TM_FILEPATH'])

out, err = TextMate::Process.run(*args)
Expand Down

0 comments on commit 122fb55

Please sign in to comment.