From f9ebf9aa029f5c764a96b545731697c905964826 Mon Sep 17 00:00:00 2001 From: Raoul Wols Date: Tue, 25 Dec 2018 00:24:35 +0100 Subject: [PATCH] Fix: keyword argument should be document_changes, not documentChanges in rename.py --- plugin/rename.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/rename.py b/plugin/rename.py index 54f367172..27c8d6925 100644 --- a/plugin/rename.py +++ b/plugin/rename.py @@ -66,7 +66,7 @@ def handle_response(self, response: 'Optional[Dict]') -> None: if response: self.view.window().run_command('lsp_apply_workspace_edit', {'changes': response.get('changes'), - 'documentChanges': response.get('documentChanges')}) + 'document_changes': response.get('documentChanges')}) else: self.view.window().status_message('No rename edits returned')