diff --git a/plugin/code_lens.py b/plugin/code_lens.py index 7546065d1..778d3b7f5 100644 --- a/plugin/code_lens.py +++ b/plugin/code_lens.py @@ -94,7 +94,7 @@ def resolve_annotation(self, view_id: int) -> None: def resolve(self, view: sublime.View, code_lens_or_error: Union[CodeLens, Error]) -> None: if isinstance(code_lens_or_error, Error): self.is_resolve_error = True - self.annotation = html_escape(str(code_lens_or_error)) + self.annotation = 'error' return self.data = code_lens_or_error self.region = range_to_region(code_lens_or_error['range'], view)