Variable: elixir-ts--thing-settings
elixir-ts--thing-settings is a variable defined in
elixir-ts-mode.el.gz.
Value
((defun "\\`call\\'")
(sexp
(not
(or (and named "\\`\\(?:comment\\|keywords\\|source\\)\\'")
(and anonymous "\\`\\(?:do\\|end\\|[](),[{}]\\)\\'"))))
(list
(or (and "\\`arguments\\'" elixir-ts--with-parens-0-p)
(and "\\`unary_operator\\'" elixir-ts--with-parens-1-p)
"\\`\\(?:anonymous_function\\|b\\(?:itstring\\|lock\\)\\|do_block\\|interpolation\\|list\\|map\\|quoted_\\(?:atom\\|keyword\\)\\|s\\(?:igil\\|tring\\)\\|tuple\\)\\'"))
(sexp-default
("("
. #[257 "\300\301!!\302\232\207"
[treesit-node-type treesit-node-parent "unary_operator"] 4
("/nix/store/yvwy8dm26cpa1j12ixgs1dyiaw2abdk9-emacs-snapshot/share/emacs/31.0.50/lisp/progmodes/elixir-ts-mode.elc"
. 15623)]))
(sentence "\\`call\\'")
(text "\\`\\(?:comment\\|s\\(?:igil\\|tring\\)\\)\\'"))
Documentation
treesit-thing-settings for Elixir.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/elixir-ts-mode.el.gz
(defvar elixir-ts--thing-settings
`((defun ,(rx bos "call" eos))
(sexp (not (or (and named
,(rx bos (or "source" "keywords" "comment")
eos))
(and anonymous
,(rx bos (or "{" "}" "[" "]" "(" ")" ","
"do" "end")
eos)))))
(list
(or (and "\\`arguments\\'" ,#'elixir-ts--with-parens-0-p)
(and "\\`unary_operator\\'" ,#'elixir-ts--with-parens-1-p)
,(rx bos (or "block"
"quoted_atom"
"string"
"interpolation"
"sigil"
"quoted_keyword"
"list"
"tuple"
"bitstring"
"map"
"do_block"
"anonymous_function")
eos)))
(sexp-default
;; For `C-M-f' in "&|(a)"
("(" . ,(lambda (node)
(equal (treesit-node-type (treesit-node-parent node))
"unary_operator"))))
(sentence
,(rx bos (or "call") eos))
(text
,(rx bos (or "string" "sigil" "comment") eos)))
"`treesit-thing-settings' for Elixir.")