From ca8f5f71f412f29d52da0bdb8ac196d298b3b0d3 Mon Sep 17 00:00:00 2001 From: Theodor Thornhill Date: Fri, 20 Jan 2023 22:59:51 +0100 Subject: [PATCH] Change top-level anchor to point-min * lisp/textmodes/html-ts-mode.el (html-ts-mode--indent-rules): Anchor to point-min. --- lisp/textmodes/html-ts-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/html-ts-mode.el b/lisp/textmodes/html-ts-mode.el index 3f88a087163..7e4360747a3 100644 --- a/lisp/textmodes/html-ts-mode.el +++ b/lisp/textmodes/html-ts-mode.el @@ -42,7 +42,7 @@ (defvar html-ts-mode--indent-rules `((html - ((parent-is "fragment") parent-bol 0) + ((parent-is "fragment") point-min 0) ((node-is "/>") parent-bol 0) ((node-is ">") parent-bol 0) ((node-is "end_tag") parent-bol 0) -- 2.39.5