forked from AlanQuatermain/go-tmbundle
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support for dynamic gopath, package, and package path; display packag…
…e as TM noun where appropriate; support for golint + goimports Cherrypick febf522 from fmccann, plus additional hand merges from the launchpad project
- Loading branch information
1 parent
8e6a71b
commit 2653890
Showing
8 changed files
with
204 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>beforeRunningCommand</key> | ||
<string>saveModifiedFiles</string> | ||
<key>command</key> | ||
<string>#!/usr/bin/env ruby18 | ||
require "#{ENV['TM_BUNDLE_SUPPORT']}/gomate" | ||
Go::goimports | ||
</string> | ||
<key>input</key> | ||
<string>document</string> | ||
<key>inputFormat</key> | ||
<string>text</string> | ||
<key>keyEquivalent</key> | ||
<string>^H</string> | ||
<key>name</key> | ||
<string>Imports</string> | ||
<key>outputCaret</key> | ||
<string>interpolateByLine</string> | ||
<key>outputFormat</key> | ||
<string>text</string> | ||
<key>outputLocation</key> | ||
<string>replaceDocument</string> | ||
<key>scope</key> | ||
<string>source.go</string> | ||
<key>uuid</key> | ||
<string>5509FB1E-C780-44ED-8BCF-4300ABC30C32</string> | ||
<key>version</key> | ||
<integer>2</integer> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>beforeRunningCommand</key> | ||
<string>saveActiveFile</string> | ||
<key>command</key> | ||
<string>#!/usr/bin/env ruby18 | ||
require "#{ENV['TM_BUNDLE_SUPPORT']}/gomate" | ||
Go::golint | ||
</string> | ||
<key>input</key> | ||
<string>none</string> | ||
<key>inputFormat</key> | ||
<string>text</string> | ||
<key>keyEquivalent</key> | ||
<string>^L</string> | ||
<key>name</key> | ||
<string>Lint</string> | ||
<key>outputCaret</key> | ||
<string>interpolateByLine</string> | ||
<key>outputFormat</key> | ||
<string>html</string> | ||
<key>outputLocation</key> | ||
<string>newWindow</string> | ||
<key>scope</key> | ||
<string>source.go</string> | ||
<key>uuid</key> | ||
<string>7E52594B-80CA-4EDD-B2B8-C54EB3844E95</string> | ||
<key>version</key> | ||
<integer>2</integer> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters