mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 14:01:38 +01:00
[html] add semantic highlight
This commit is contained in:
@@ -51,6 +51,8 @@ export interface LanguageMode {
|
||||
findMatchingTagPosition?: (document: TextDocument, position: Position) => Position | null;
|
||||
getFoldingRanges?: (document: TextDocument) => FoldingRange[];
|
||||
onDocumentRemoved(document: TextDocument): void;
|
||||
getSemanticTokens?(document: TextDocument, ranges: Range[] | undefined): number[];
|
||||
getSemanticTokenLegend?(): { types: string[], modifiers: string[] };
|
||||
dispose(): void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user