diff options
Diffstat (limited to 'editors/code/src/commands/toggle_inlay_hints.ts')
-rw-r--r-- | editors/code/src/commands/toggle_inlay_hints.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/editors/code/src/commands/toggle_inlay_hints.ts b/editors/code/src/commands/toggle_inlay_hints.ts deleted file mode 100644 index 7606af8d0..000000000 --- a/editors/code/src/commands/toggle_inlay_hints.ts +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | import * as vscode from 'vscode'; | ||
2 | import { Ctx, Cmd } from '../ctx'; | ||
3 | |||
4 | export function toggleInlayHints(ctx: Ctx): Cmd { | ||
5 | return async () => { | ||
6 | await vscode | ||
7 | .workspace | ||
8 | .getConfiguration(`${ctx.config.rootSection}.inlayHints`) | ||
9 | .update('enable', !ctx.config.inlayHints.enable, vscode.ConfigurationTarget.Workspace); | ||
10 | }; | ||
11 | } | ||