diff options
| author | Yuan Fu | 2023-01-09 01:44:44 -0800 |
|---|---|---|
| committer | Yuan Fu | 2023-01-09 20:06:05 -0800 |
| commit | 28dd60213846a04d3f8c4006bd4ec252bd883ed0 (patch) | |
| tree | f6b2fe04fbc0098699d1395945c7f595d099c4f0 /java/debug.sh | |
| parent | 8a36a0f44aafc10f1d10e23d5371bf19ee344b41 (diff) | |
| download | emacs-28dd60213846a04d3f8c4006bd4ec252bd883ed0.tar.gz 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 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions