@shopify/theme-language-server-common
Version:
<h1 align="center" style="position: relative;" > <br> <img src="https://github.com/Shopify/theme-check-vscode/blob/main/images/shopify_glyph.png?raw=true" alt="logo" width="141" height="160"> <br> Theme Language Server </h1>
11 lines (9 loc) • 363 B
text/typescript
import { DocumentHighlight, DocumentHighlightParams } from 'vscode-languageserver';
import { LiquidHtmlNode } from '@shopify/theme-check-common';
export interface BaseDocumentHighlightsProvider {
documentHighlights: (
node: LiquidHtmlNode,
ancestors: LiquidHtmlNode[],
params: DocumentHighlightParams,
) => Promise<DocumentHighlight[] | null>;
}