Skip to content

Commit

Permalink
Don't handle editor.action.triggerSuggest
Browse files Browse the repository at this point in the history
  • Loading branch information
rwols committed Nov 15, 2020
1 parent 3dbb9d7 commit 1be7759
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions plugin/execute_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ def run(self,
command_args: Optional[List[Any]] = None,
session_name: Optional[str] = None,
event: Optional[dict] = None) -> None:
# Handle VSCode-specific command for triggering suggestions popup.
if command_name == "editor.action.triggerSuggest":
# Triggered from set_timeout as suggestions popup doesn't trigger otherwise.
sublime.set_timeout(lambda: self.view.run_command("auto_complete"))
return
session = self.session_by_name(session_name) if session_name else self.best_session(self.capability)
if session and command_name:
if command_args:
Expand Down

0 comments on commit 1be7759

Please sign in to comment.