Adds support for astypedef files, so we can register the interface as application interface, even when it uses functions that are not supported by angelscript itself.
This commit is contained in:
@@ -37,7 +37,10 @@ export function activate(context: ExtensionContext) {
|
||||
|
||||
// Options to control the language client
|
||||
let clientOptions: LanguageClientOptions = {
|
||||
documentSelector: [{ scheme: 'file', language: 'Angelscript' }],
|
||||
documentSelector: [
|
||||
{ scheme: 'file', language: 'Angelscript' },
|
||||
{ scheme: 'file', language: 'AngelscriptTypeDefinition' }
|
||||
],
|
||||
synchronize: {
|
||||
fileEvents: workspace.createFileSystemWatcher('**/.clientrc'),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user