Commits

Anonymous committed bb27817

open a new buffer for "go to definition" result if the special envvar is set

  • Participants
  • Parent commits 384114f

Comments (0)

Files changed (1)

File ropemode/interface.py

     def _goto_location(self, resource, lineno):
         if resource:
             self.env.find_file(str(resource.real_path),
-                               resource.project != self.project)
+                               resource.project != self.project,
+                               other=self.env.get('goto_def_newwin'))
         if lineno:
             self.env.goto_line(lineno)