Skip to content

Commit 46ba57f

Browse files
committed
又加了个属性
1 parent 2312e2b commit 46ba57f

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

client/src/extension.ts

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@ export function activate(context: vscode.ExtensionContext) {
1111
languageserver.activate(context);
1212

1313
let luadocContext: LuaDocExtensionContext = {
14-
subscriptions: context.subscriptions,
15-
workspaceState: context.workspaceState,
16-
globalState: context.globalState,
17-
extensionPath: context.extensionPath + '/client/3rd/vscode-lua-doc',
18-
asAbsolutePath: context.asAbsolutePath,
19-
storagePath: context.storagePath,
20-
globalStoragePath: context.globalStoragePath,
21-
logPath: context.logPath,
22-
extensionUri: context.extensionUri,
23-
ViewType: 'lua-doc',
24-
OpenCommand: 'extension.lua.doc',
14+
subscriptions: context.subscriptions,
15+
workspaceState: context.workspaceState,
16+
globalState: context.globalState,
17+
extensionPath: context.extensionPath + '/client/3rd/vscode-lua-doc',
18+
asAbsolutePath: context.asAbsolutePath,
19+
storagePath: context.storagePath,
20+
globalStoragePath: context.globalStoragePath,
21+
logPath: context.logPath,
22+
extensionUri: context.extensionUri,
23+
environmentVariableCollection: context.environmentVariableCollection,
24+
ViewType: 'lua-doc',
25+
OpenCommand: 'extension.lua.doc',
2526
};
2627
luadoc.activate(luadocContext);
2728
}

0 commit comments

Comments
 (0)