diff --git a/plugin.py b/plugin.py index 21ccc3c..4e923ee 100644 --- a/plugin.py +++ b/plugin.py @@ -59,16 +59,6 @@ def on_typescript_rename(self, position_params: Any, respond: Callable[[None], N # Server doesn't require any specific response. respond(None) - def additional_formatting_options(self, view: sublime.View) -> Dict[str, Any]: - session = self.weaksession() - if session: - session_view = session.session_view_for_view_async(view) - if session_view: - language_id = session_view.get_language_id() or '' - language = 'typescript' if language_id.startswith('typescript') else 'javascript' - return session.config.settings.get('{}.format'.format(language)) - return {} - def on_pre_server_command(self, command: Mapping[str, Any], done_callback: Callable[[], None]) -> bool: if command['command'] == '_typescript.applyCompletionCodeAction': _, items = command['arguments']