Skip to content

Commit

Permalink
Change default truncate limit to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
bivashy committed Oct 2, 2024
1 parent abe0987 commit 17591c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LSP.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
"show_inlay_hints": false,

// Truncate limit for inlay hints. Truncates and adds an ellipsis at the end.
"inlay_hints_truncate_limit": 1000,
"inlay_hints_truncate_limit": 100,

// Highlighting style of "highlights": accentuating nearby text entities that
// are related to the one under your cursor.
Expand Down
2 changes: 1 addition & 1 deletion plugin/core/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def r(name: str, default: bool | int | str | list | dict) -> None:
r("show_code_actions", "annotation")
r("show_code_lens", "annotation")
r("show_inlay_hints", False)
r("inlay_hints_truncate_limit", 1000)
r("inlay_hints_truncate_limit", 100)
r("show_diagnostics_in_hover", True)
r("show_code_actions_in_hover", True)
r("show_diagnostics_annotations_severity_level", 0)
Expand Down
2 changes: 1 addition & 1 deletion sublime-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@
},
"inlay_hints_truncate_limit": {
"type": "integer",
"default": 1000,
"default": 100,
"minimum": 0,
"markdownDescription": "Truncate limit for inlay hints. Truncates and adds an ellipsis at the end."
},
Expand Down

0 comments on commit 17591c1

Please sign in to comment.