diff --git a/plugin.py b/plugin.py index 7418fe6..97771df 100644 --- a/plugin.py +++ b/plugin.py @@ -74,7 +74,7 @@ def _to_lsp_edits(self, items: Any) -> Dict[str, List[TextEditTuple]]: ( (start['line'] - 1, start['offset'] - 1), (end['line'] - 1, end['offset'] - 1), - text_change['newText'], + text_change['newText'].replace("\r", ""), None, ) )