Skip to content

Commit

Permalink
Correct format_document (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
gatesn authored Jul 7, 2017
1 parent e0ae303 commit 327483d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyls/python_ls.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def execute_command(self, command, arguments):
return self._hook(self._hooks.pyls_execute_command, command=command, arguments=arguments)

def format_document(self, doc_uri):
return self._hook(self._hooks.pyls_definitions, doc_uri)
return self._hook(self._hooks.pyls_format_document, doc_uri)

def format_range(self, doc_uri, range):
return self._hook(self._hooks.pyls_format_range, doc_uri, range=range)
Expand Down

0 comments on commit 327483d

Please sign in to comment.