fix duplicated workspace symbols provider
This commit is contained in:
parent
7999ac085e
commit
20d2b6fd32
1 changed files with 7 additions and 5 deletions
|
@ -157,11 +157,13 @@ export default class LanguageProvider {
|
|||
new DocumentSymbolProvider(client))
|
||||
)
|
||||
|
||||
this.disposables.push(
|
||||
languages.registerWorkspaceSymbolProvider(
|
||||
languageIds,
|
||||
new WorkspaceSymbolProvider(client, languageIds))
|
||||
)
|
||||
if (this.description.id == 'typescript') {
|
||||
this.disposables.push(
|
||||
languages.registerWorkspaceSymbolProvider(
|
||||
languageIds,
|
||||
new WorkspaceSymbolProvider(client, languageIds))
|
||||
)
|
||||
}
|
||||
|
||||
this.disposables.push(
|
||||
languages.registerRenameProvider(
|
||||
|
|
Loading…
Reference in a new issue