aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/values-v19
diff options
context:
space:
mode:
authorYuan Fu2024-11-29 20:43:09 -0800
committerYuan Fu2024-12-01 17:53:22 -0800
commite37cd4fa597beaec3b491edb1b15ea0c19e72be4 (patch)
treec9e7f33364e95c1a4597760833f3862212509cec /java/res/values-v19
parent4afdb7e80febd56f4024bad0aff4356198f6ce53 (diff)
downloademacs-e37cd4fa597beaec3b491edb1b15ea0c19e72be4.tar.gz
emacs-e37cd4fa597beaec3b491edb1b15ea0c19e72be4.zip
Add baseline tree-sitter indent rule for C-like languages
I found a really good baseline indent rule that handles a wide range of situations very well. Now major modes can just start with this rule and add exceptions on top. This is worth mentioning in the manual, but that'll be a large change, and doesn't have to be included in this commit. * lisp/progmodes/c-ts-common.el: (c-ts-common-list-indent-style): New variable. (c-ts-common--standalone-parent): (c-ts-common--prev-standalone-sibling): (c-ts-common-parent-ignore-preproc): (c-ts-common-baseline-indent-rule): New function. * lisp/treesit.el (treesit--indent-prev-line-node): New function. (treesit-simple-indent-presets): Add new preset.
Diffstat (limited to 'java/res/values-v19')
0 files changed, 0 insertions, 0 deletions