Skip to content

Commit

Permalink
Split long line into multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
bivashy committed Sep 15, 2024
1 parent 1d85bcc commit 41150db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugin/inlay_hint.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def inlay_hint_to_phantom(view: sublime.View, inlay_hint: InlayHint, session: Se


def get_inlay_hint_html(view: sublime.View, inlay_hint: InlayHint, session: Session, phantom_uuid: str) -> str:
label = format_inlay_hint_label(inlay_hint, session, phantom_uuid, view.settings().get("inlay_truncate_limit", userprefs().inlay_truncate_limit))
truncate_limit = view.settings().get("inlay_truncate_limit", userprefs().inlay_truncate_limit)
label = format_inlay_hint_label(inlay_hint, session, phantom_uuid, truncate_limit)
font = view.settings().get('font_face') or "monospace"
html = f"""
<body id="lsp-inlay-hint">
Expand Down

0 comments on commit 41150db

Please sign in to comment.