Skip to content

Commit e801ddb

Browse files
committed
Set some likely default locations for the racer binary
This way, people don't necessarily have to set `TM_RACER`. Add in the locations that [cargo install](rust-lang/cargo#2026) will be using, on the assumption that racer will likely start recommending cargo install soon.
1 parent 5f8a48e commit e801ddb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Commands/Complete.tmCommand

+8
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ end
6969
<dict>
7070
<key>command</key>
7171
<string>racer</string>
72+
<key>locations</key>
73+
<array>
74+
<string>/usr/local/bin/racer</string>
75+
<string>/opt/local/bin/racer</string>
76+
<string>$CARGO_INSTALL_ROOT/bin/racer</string>
77+
<string>$CARGO_HOME/bin/racer</string>
78+
<string>$HOME/.cargo/bin/racer</string>
79+
</array>
7280
<key>moreInfoURL</key>
7381
<string>https://github.com/phildawes/racer</string>
7482
<key>variable</key>

0 commit comments

Comments
 (0)