|
From: | Juri Linkov |
Subject: | bug#60972: 30.0.50; [PATCH]: Add html-ts-mode |
Date: | Sun, 22 Jan 2023 19:02:15 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
>> I expected that one of them is moving over the HTML tags >> and another over HTML elements. > > Is this more like you were thinking? > > - (setq-local treesit-sentence-type-regexp > - (regexp-opt '("start_tag" > - "self_closing_tag" > - "end_tag"))) > + (setq-local treesit-sentence-type-regexp "element") According to the discussion in bug#60894 I expected it to be rather like this: (setq-local treesit-sentence-type-regexp "tag") (setq-local treesit-sexp-type-regexp (regexp-opt '("element" "text" "attribute" "value")))
[Prev in Thread] | Current Thread | [Next in Thread] |