workspace-symbols function for Emacs

This commit is contained in:
Aleksey Kladov 2018-11-08 18:43:02 +03:00
parent c69ff08dc9
commit 00e80b24e3
4 changed files with 43 additions and 12 deletions

View file

@ -20,7 +20,10 @@ export class Server {
debug: run
};
const clientOptions: lc.LanguageClientOptions = {
documentSelector: [{ scheme: 'file', language: 'rust' }]
documentSelector: [{ scheme: 'file', language: 'rust' }],
initializationOptions: {
publishDecorations: true,
}
};
Server.client = new lc.LanguageClient(