summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/treesit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/treesit.el b/lisp/treesit.el
index efc3b153ee8..30efd4d4599 100644
--- a/lisp/treesit.el
+++ b/lisp/treesit.el
@@ -2508,7 +2508,7 @@ RULES."
offset)))))
(cons lang (mapcar #'optimize-rule indent-rules)))))
-(defun treesit-add-simple-indent-rules (language rules &optional where anchor)
+(defun treesit-simple-indent-add-rules (language rules &optional where anchor)
"Add simple indent RULES for LANGUAGE.
This function only affects `treesit-simple-indent-rules',