diff options
author | Steffen Lyngbaek <[email protected]> | 2020-03-12 03:14:39 +0000 |
---|---|---|
committer | Steffen Lyngbaek <[email protected]> | 2020-03-12 03:14:39 +0000 |
commit | 58248e24cd45adcbfd7bfd00e1487df196b4a8c6 (patch) | |
tree | 7221dea8daa9dcede6ffaede88c890de17586c51 /editors/code/src/client.ts | |
parent | 974ed7155acccb5da0c2aeac09d7052c4f75902d (diff) |
Switch from Vec<InlayKind> to object with props
- Instead of a single object type, use several individual nested types
to allow toggling from the settings GUI
- Remove unused struct definitions
- Install and test that the toggles work
Diffstat (limited to 'editors/code/src/client.ts')
-rw-r--r-- | editors/code/src/client.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts index ac4417c61..3b8ea6f77 100644 --- a/editors/code/src/client.ts +++ b/editors/code/src/client.ts | |||
@@ -29,7 +29,7 @@ export async function createClient(config: Config, serverPath: string): Promise< | |||
29 | initializationOptions: { | 29 | initializationOptions: { |
30 | publishDecorations: !config.highlightingSemanticTokens, | 30 | publishDecorations: !config.highlightingSemanticTokens, |
31 | lruCapacity: config.lruCapacity, | 31 | lruCapacity: config.lruCapacity, |
32 | inlayHintOpts: config.inlayHintOpts, | 32 | inlayHints: config.inlayHints, |
33 | cargoWatchEnable: cargoWatchOpts.enable, | 33 | cargoWatchEnable: cargoWatchOpts.enable, |
34 | cargoWatchArgs: cargoWatchOpts.arguments, | 34 | cargoWatchArgs: cargoWatchOpts.arguments, |
35 | cargoWatchCommand: cargoWatchOpts.command, | 35 | cargoWatchCommand: cargoWatchOpts.command, |