aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorYuan Fu2024-11-29 14:10:45 -0800
committerYuan Fu2024-12-01 17:53:21 -0800
commit1e44c63fcadeb89a9a9c9208f221970e6fcc774c (patch)
tree7d0a4d6b109a2cc496a5b475e88eb28eca8559da /java
parent1d425125694b61e2b07a7b429a6475dfe59afe37 (diff)
downloademacs-1e44c63fcadeb89a9a9c9208f221970e6fcc774c.tar.gz
emacs-1e44c63fcadeb89a9a9c9208f221970e6fcc774c.zip
Allow treesit-simple-indent's rule to be a single function
* lisp/treesit.el (treesit-simple-indent-rules): Allow the rule to be a single function. Also replace cl-loop with dolist plus catch-throw. (treesit--indent-rules-optimize): Handle the case when a rule is a function. * doc/lispref/modes.texi (Parser-based Indentation): Update manuel.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions