Skip to content

Commit c099e71

Browse files
author
Rob Green
committed
Add missing requried arguments in call to show_tooltip_popup()
1 parent f21aba5 commit c099e71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

typescript/commands/quick_info.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,10 @@ def run(self, text, hover_point=None, hover_zone=None):
141141
word_at_sel = self.view.classify(display_point)
142142
if hover_zone == sublime.HOVER_GUTTER:
143143
line_span = self.view.full_line(display_point)
144+
errors = self.get_errors(line_span)
144145
error_html = self.get_error_text_html(line_span)
145146
if error_html:
146-
self.show_tooltip_popup(display_point, error_html, None, None)
147+
self.show_tooltip_popup(display_point, errors, error_html, None, None, None)
147148
elif word_at_sel & SUBLIME_WORD_MASK:
148149
cli.service.quick_info_full(self.view.file_name(), get_location_from_position(self.view, display_point), lambda response: self.handle_quick_info(response, display_point))
149150
else:

0 commit comments

Comments
 (0)