Get everything in working condition
This commit is contained in:
@@ -37,18 +37,16 @@ export function activate(context: ExtensionContext) {
|
||||
|
||||
// Options to control the language client
|
||||
let clientOptions: LanguageClientOptions = {
|
||||
// Register the server for plain text documents
|
||||
documentSelector: [{ scheme: 'file', language: 'plaintext' }],
|
||||
documentSelector: [{ scheme: 'file', language: 'Angelscript' }],
|
||||
synchronize: {
|
||||
// Notify the server about file changes to '.clientrc files contained in the workspace
|
||||
fileEvents: workspace.createFileSystemWatcher('**/.clientrc')
|
||||
fileEvents: workspace.createFileSystemWatcher('**/.clientrc'),
|
||||
}
|
||||
};
|
||||
|
||||
// Create the language client and start the client.
|
||||
client = new LanguageClient(
|
||||
'languageServerExample',
|
||||
'Language Server Example',
|
||||
'AngelscriptLanguageServer',
|
||||
'Angelscript Language Server',
|
||||
serverOptions,
|
||||
clientOptions
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user