Skip to content

Commit

Permalink
get canIncreaseVerbosityLevel from server response
Browse files Browse the repository at this point in the history
  • Loading branch information
gabritto committed Sep 23, 2024
1 parent 17447b6 commit a12778c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ class TypeScriptHoverProvider implements vscode.HoverProvider {
new vscode.VerboseHover(
contents,
range,
/*canIncreaseVerbosity*/ true,
// @ts-expect-error
/*canIncreaseVerbosity*/ response.body.canIncreaseVerbosityLevel,
/*canDecreaseVerbosity*/ verbosityLevel !== 0
) : new vscode.Hover(
contents,
Expand Down

0 comments on commit a12778c

Please # to comment.