Permalink
Browse files

Merge pull request #8 from phyllisstein/3

Adds compatability for Sublime Text 3
  • Loading branch information...
2 parents 2cc9d0a + 7be56c0 commit 93e4bbb21621279a1d63f6302a0a10daee44739e @vojtajina committed Apr 4, 2013
Showing with 6 additions and 6 deletions.
  1. +3 −3 README.md
  2. +1 −1 converter.py
  3. +1 −1 converter_test.py
  4. +1 −1 open_related.py
View
@@ -1,6 +1,6 @@
-# OpenRelated (Sublime Text 2 plugin)
+# OpenRelated (Sublime Text 2/3 plugin)
-A plugin for quick navigation between related files (e.g. test/implementation) in awesome text editor - [Sublime Text 2].
+A plugin for quick navigation between related files (e.g. test/implementation) in awesome text editor - [Sublime Text].
## Instalation
Recommended way is using [PackageControll] package.
@@ -36,6 +36,6 @@ By default, "open_related" is mapped to `CMD+T`, however you can easily change t
Note, if you have multiple groups opened (split view), related file will be opened in next group.
-[Sublime Text 2]: http://www.sublimetext.com/
+[Sublime Text]: http://www.sublimetext.com/
[PackageControll]: http://wbond.net/sublime_packages/package_control/installation
[tarball]: https://github.com/vojtajina/sublime-OpenRelated/tarball/master
View
@@ -44,7 +44,7 @@ def _is_formatter(self, exp):
class WindowsConverter(Converter):
def __init__(self, patterns):
- super(WindowsConverter, self).__init__(map(self._normalize, patterns))
+ super(WindowsConverter, self).__init__(list(map(self._normalize, patterns)))
def _normalize(self, path):
return path.replace("/", "\\")
View
@@ -1,5 +1,5 @@
import unittest
-from converter import *
+from .converter import *
class ConverterTest(unittest.TestCase):
View
@@ -1,6 +1,6 @@
import sublime, sublime_plugin
import os.path
-import converter
+from . import converter
class OpenRelatedCommand(sublime_plugin.WindowCommand):
def run(self):

0 comments on commit 93e4bbb

Please sign in to comment.