Variable: html-ts-mode--treesit-things-settings

html-ts-mode--treesit-things-settings is a variable defined in html-ts-mode.el.gz.

Value

((html
  (sexp
   (not
    (or (and named "\\`\\(?:document\\|tag_name\\)\\'")
	(and anonymous "\\(?:<[!/]\\|[<>]\\)"))))
  (list "\\(?:comment\\|doctype\\|element\\)")
  (sentence "\\`\\(?:\\(?:attribut\\|tag_nam\\)e\\)\\'")
  (text "\\(?:\\(?:commen\\|tex\\)t\\)")))

Documentation

Settings for treesit-thing-settings.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/html-ts-mode.el.gz
(defvar html-ts-mode--treesit-things-settings
  `((html
     (sexp (not (or (and named
                         ,(rx bos (or "document" "tag_name") eos))
                    (and anonymous
                         ,(rx (or "<!" "<" ">" "</"))))))
     (list ,(rx (or "doctype"
                    ;; Also match script_element and style_element
                    "element"
                    ;; HTML comments have the element syntax
                    "comment")))
     (sentence ,(rx (and bos (or "tag_name" "attribute") eos)))
     (text ,(regexp-opt '("comment" "text")))))
  "Settings for `treesit-thing-settings'.")