Variable: heex-ts--thing-settings

heex-ts--thing-settings is a variable defined in heex-ts-mode.el.gz.

Value

((defun "\\`\\(?:component\\|slot\\|tag\\)\\'")
 (sexp
  (not
   (or (and named "\\`\\(?:\\(?:com\\|frag\\)ment\\)\\'")
       (and anonymous "\\(?:<!\\|[<>{}]\\)"))))
 (list
  "\\`\\(?:com\\(?:\\(?:m\\|pon\\)ent\\)\\|d\\(?:\\(?:irectiv\\|octyp\\)e\\)\\|expression\\|slot\\|tag\\)\\'")
 (sentence
  "\\`\\(?:\\(?:attribut\\|\\(?:component\\|tag\\)_nam\\)e\\)\\'")
 (text "\\`\\(?:\\(?:commen\\|tex\\)t\\)\\'"))

Documentation

treesit-thing-settings for HEEx.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/heex-ts-mode.el.gz
(defvar heex-ts--thing-settings
  `((defun ,(rx bos (or "component" "tag" "slot") eos))
    (sexp
     (not (or (and named
                   ,(rx bos (or "fragment" "comment") eos))
              (and anonymous
                   ,(rx (or "<!" "<" ">" "{" "}"))))))
    (list
     ,(rx bos (or "doctype"
                  "tag"
                  "component"
                  "slot"
                  "expression"
                  "directive"
                  "comment")
          eos))
    (sentence
     ,(rx bos (or "tag_name"
                  "component_name"
                  "attribute")
          eos))
    (text
     ,(rx bos (or "comment" "text") eos)))
  "`treesit-thing-settings' for HEEx.")