]> git.eshelyaron.com Git - emacs.git/commit
Make c-ts-mode tests pass even for older tree-sitter libraries
authorYuan Fu <casouri@gmail.com>
Wed, 11 Dec 2024 06:08:10 +0000 (22:08 -0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 12 Dec 2024 15:49:09 +0000 (16:49 +0100)
commitcb522b5e58363a15fe98c6f029d501fc6585c11c
treefeaa6e4f85d6cf2d4ce94ca0e4a4e2918de0c161
parentd8b6457b280e8e8f1be1aca4bd3d303cb1aab661
Make c-ts-mode tests pass even for older tree-sitter libraries

* lisp/progmodes/c-ts-mode.el (c-ts-mode--for-loop-indent-rule):
Use child index instead of field name.

(cherry picked from commit 10e49d7fae708d64fe68effe5890ea77c875a799)
lisp/progmodes/c-ts-mode.el