Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/language-client/semanticTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export class SemanticTokensFeature extends TextDocumentLanguageFeature<boolean |
SemanticTokenTypes.number,
SemanticTokenTypes.regexp,
SemanticTokenTypes.decorator,
SemanticTokenTypes.label,
SemanticTokenTypes.operator
]
capability.tokenModifiers = [
Expand Down
2 changes: 1 addition & 1 deletion src/language-client/textSynchronization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export class DidCloseTextDocumentFeature extends TextDocumentEventFeature<DidClo
}

public unregister(id: string): void {
let selector = this._selectors.get(id)!
let selector = this._selectors.get(id)
if (!selector) return
// The super call removed the selector from the map
// of selectors.
Expand Down
Loading