Skip to content

Commit

Permalink
Read from user preference directly
Browse files Browse the repository at this point in the history
  • Loading branch information
bivashy committed Sep 22, 2024
1 parent 808e817 commit 1ba72a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/inlay_hint.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ 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:
truncate_limit = view.settings().get("inlay_hints_truncate_limit", userprefs().inlay_hints_truncate_limit)
truncate_limit = userprefs().inlay_hints_truncate_limit
label = format_inlay_hint_label(inlay_hint, session, phantom_uuid, truncate_limit)
font = view.settings().get('font_face') or "monospace"
html = f"""
Expand Down

0 comments on commit 1ba72a6

Please sign in to comment.