]> git.eshelyaron.com Git - emacs.git/commit
Improve c-ts-mode block comment indent (bug#60270)
authorYuan Fu <casouri@gmail.com>
Sat, 24 Dec 2022 08:15:48 +0000 (00:15 -0800)
committerYuan Fu <casouri@gmail.com>
Sat, 24 Dec 2022 08:33:17 +0000 (00:33 -0800)
commite4e3634539920d14395b19121715c50b3f022909
tree3dca7fdcb50b097b3181a720f9ff3f05cecefd41
parente30621caa2c93018d137a5b75fb0db897b6db9a8
Improve c-ts-mode block comment indent (bug#60270)

Now it handles stuff like

/**
 * @some_func:
 * @arg1:
 */

* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Use new
matcher and anchor.
(c-ts-mode--looking-at-star): New matcher.
(c-ts-mode--comment-start-after-first-star): New anchor.
lisp/progmodes/c-ts-mode.el