Skip to content

Commit

Permalink
Merge pull request #15 from bill-warshaw/osx_opens_all_browsers_for_b…
Browse files Browse the repository at this point in the history
…ackslash

Stop Sublime from opening all browsers on OSX for invalid tokens containing '\'
  • Loading branch information
komsit37 authored Feb 25, 2017
2 parents 9d81518 + 7d34da6 commit b3c8bf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions goto_documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def open_doc(self, query, scope):
if (tscope in substitue_map and query in substitue_map[tscope]):
query = substitue_map[tscope][query]

query = query.replace("\\", "") # backslash causes Sublime on OSX to open all available browsers
if ("DotQ" in query):
tscope = "Q"
if ("Dotz" in query):
Expand Down

0 comments on commit b3c8bf6

Please sign in to comment.