@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>
6 lines (5 loc) • 467 B
TypeScript
import { LiquidHtmlNode } from '@shopify/liquid-html-parser';
import { TextDocumentPositionParams, Range } from 'vscode-languageserver';
import { TextDocument } from 'vscode-languageserver-textdocument';
export declare function getHtmlElementNameRanges(node: LiquidHtmlNode, ancestors: LiquidHtmlNode[], params: TextDocumentPositionParams, textDocument: TextDocument): Range[] | null;
export declare function isDanglingOpenHtmlElement(node: LiquidHtmlNode): boolean;