diff --git a/plugin/goto.py b/plugin/goto.py index 104b5873f..bc75bd02b 100644 --- a/plugin/goto.py +++ b/plugin/goto.py @@ -53,8 +53,8 @@ def run( fallback: bool = False, group: int = -1 ) -> None: - session = self.best_session(self.capability) position = get_position(self.view, event, point) + session = self.best_session(self.capability, position) if session and position is not None: params = text_document_position_params(self.view, position) request = Request(self.method, params, self.view, progress=True)