Skip to content

Commit

Permalink
Remove no longer needed override (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl authored Oct 16, 2021
1 parent ae30b93 commit d7924d0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit d7924d0

Please sign in to comment.