function registerDocumentSymbolProvider(languageId, provider) {
        return modes.DocumentSymbolProviderRegistry.register(languageId, provider);
    }
Register a document highlight provider (used by e.g. highlight occurrences).