Skip to content
This repository was archived by the owner on May 6, 2023. It is now read-only.

Commit d161da7

Browse files
committed
Merge pull request #11 from Danlock/master
fixes windows bug by using windows default browser'
2 parents 4c32cd4 + c163451 commit d161da7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

useIt.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ def run(self, edit):
2121
s = sublime.load_settings("Can I Use.sublime-settings")
2222
default_browser = s.get('default_browser', '')
2323

24+
if not default_browser and sublime.platform() == 'windows':
25+
default_browser = 'windows-default'
26+
2427
for region in self.view.sel():
2528
# Get the start point of the region of the selection
2629
point = region.begin()

0 commit comments

Comments
 (0)