summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/debug.el
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2023-01-09 01:44:44 -0800
committerYuan Fu <casouri@gmail.com>2023-01-09 20:06:05 -0800
commit28dd60213846a04d3f8c4006bd4ec252bd883ed0 (patch)
treef6b2fe04fbc0098699d1395945c7f595d099c4f0 /lisp/emacs-lisp/debug.el
parent8a36a0f44aafc10f1d10e23d5371bf19ee344b41 (diff)
downloademacs-28dd60213846a04d3f8c4006bd4ec252bd883ed0.tar.gz
emacs-28dd60213846a04d3f8c4006bd4ec252bd883ed0.tar.bz2
emacs-28dd60213846a04d3f8c4006bd4ec252bd883ed0.zip
Fix c-ts-mode indentation for 2nd line in block comment (bug#60270)
If the first line is "/*" or "/* ", indent like this: /* aaa If the first line is "/* some text", indent like this: /* some text aaa * lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): (c-ts-mode--looking-at-star): Minor refactor. (c-ts-mode--comment-2nd-line-matcher) (c-ts-mode--comment-2nd-line-anchor): New functions. * lisp/treesit.el (treesit-simple-indent-presets): prev-adaptive-prefix doesn't handle the comment-start-skip case (i.e, 2nd line) anymore. (Handled by the new matcher.)
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions