diff options
author | Aleksey Kladov <[email protected]> | 2019-12-30 19:10:40 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-12-30 19:10:40 +0000 |
commit | 7b199f6a4b7a947d1dad6a74b2b88758497d4efa (patch) | |
tree | 8fbc8dca5fc5171b179afe1c47f841895cb5b5c6 /editors/code/src | |
parent | 3d008a78d0ab1d43629326d58d4b2a157303dd00 (diff) |
Hints are not commands
Diffstat (limited to 'editors/code/src')
-rw-r--r-- | editors/code/src/commands/index.ts | 2 | ||||
-rw-r--r-- | editors/code/src/inlay_hints.ts (renamed from editors/code/src/commands/inlay_hints.ts) | 2 | ||||
-rw-r--r-- | editors/code/src/main.ts | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/editors/code/src/commands/index.ts b/editors/code/src/commands/index.ts index 4a2e8e4db..89af4be90 100644 --- a/editors/code/src/commands/index.ts +++ b/editors/code/src/commands/index.ts | |||
@@ -10,7 +10,6 @@ import { onEnter } from './on_enter'; | |||
10 | import { parentModule } from './parent_module'; | 10 | import { parentModule } from './parent_module'; |
11 | import { syntaxTree } from './syntax_tree'; | 11 | import { syntaxTree } from './syntax_tree'; |
12 | import { expandMacro } from './expand_macro'; | 12 | import { expandMacro } from './expand_macro'; |
13 | import * as inlayHints from './inlay_hints'; | ||
14 | import { run, runSingle } from './runnables'; | 13 | import { run, runSingle } from './runnables'; |
15 | 14 | ||
16 | function collectGarbage(ctx: Ctx): Cmd { | 15 | function collectGarbage(ctx: Ctx): Cmd { |
@@ -38,7 +37,6 @@ export { | |||
38 | parentModule, | 37 | parentModule, |
39 | syntaxTree, | 38 | syntaxTree, |
40 | onEnter, | 39 | onEnter, |
41 | inlayHints, | ||
42 | collectGarbage, | 40 | collectGarbage, |
43 | run, | 41 | run, |
44 | runSingle, | 42 | runSingle, |
diff --git a/editors/code/src/commands/inlay_hints.ts b/editors/code/src/inlay_hints.ts index 6d00152f8..b975915ca 100644 --- a/editors/code/src/commands/inlay_hints.ts +++ b/editors/code/src/inlay_hints.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import * as vscode from 'vscode'; | 1 | import * as vscode from 'vscode'; |
2 | import * as lc from 'vscode-languageclient'; | 2 | import * as lc from 'vscode-languageclient'; |
3 | import { Server } from '../server'; | 3 | import { Server } from './server'; |
4 | 4 | ||
5 | interface InlayHintsParams { | 5 | interface InlayHintsParams { |
6 | textDocument: lc.TextDocumentIdentifier; | 6 | textDocument: lc.TextDocumentIdentifier; |
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index 4a3e1ab7c..cf0ddfa16 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts | |||
@@ -2,7 +2,7 @@ import * as vscode from 'vscode'; | |||
2 | import * as lc from 'vscode-languageclient'; | 2 | import * as lc from 'vscode-languageclient'; |
3 | 3 | ||
4 | import * as commands from './commands'; | 4 | import * as commands from './commands'; |
5 | import { HintsUpdater } from './commands/inlay_hints'; | 5 | import { HintsUpdater } from './inlay_hints'; |
6 | import { StatusDisplay } from './commands/watch_status'; | 6 | import { StatusDisplay } from './commands/watch_status'; |
7 | import * as events from './events'; | 7 | import * as events from './events'; |
8 | import * as notifications from './notifications'; | 8 | import * as notifications from './notifications'; |