@@ -5,31 +5,12 @@ import * as addonManager from './addon_manager/registration';
55
66import luadoc from "../3rd/vscode-lua-doc/extension.js" ;
77
8- interface LuaDocContext extends vscode . ExtensionContext {
9- ViewType : string ;
10- OpenCommand : string ;
11- }
12-
138export function activate ( context : vscode . ExtensionContext ) {
149 languageserver . activate ( context ) ;
1510
16- const luaDocContext : LuaDocContext = {
17- asAbsolutePath : context . asAbsolutePath ,
18- environmentVariableCollection : context . environmentVariableCollection ,
19- extensionUri : context . extensionUri ,
20- globalState : context . globalState ,
21- storagePath : context . storagePath ,
22- subscriptions : context . subscriptions ,
23- workspaceState : context . workspaceState ,
24- extensionMode : context . extensionMode ,
25- globalStorageUri : context . globalStorageUri ,
26- logUri : context . logUri ,
27- logPath : context . logPath ,
28- globalStoragePath : context . globalStoragePath ,
29- extension : context . extension ,
30- secrets : context . secrets ,
31- storageUri : context . storageUri ,
11+ const luaDocContext = {
3212 extensionPath : context . extensionPath + '/client/3rd/vscode-lua-doc' ,
13+ subscriptions : context . subscriptions ,
3314 ViewType : 'lua-doc' ,
3415 OpenCommand : 'extension.lua.doc' ,
3516 }
0 commit comments