diff options
| author | Yuan Fu | 2023-01-15 00:16:58 -0800 |
|---|---|---|
| committer | Yuan Fu | 2023-01-15 01:11:37 -0800 |
| commit | 189d976dbaed9067b21dbc372c52be104ef33417 (patch) | |
| tree | 7e1d2b3457c47eafd04234ba37ef0e0a1ab14b68 /java/debug.sh | |
| parent | c78e19d99c01660284c6c4d58a2e98e1ba93fb6d (diff) | |
| download | emacs-189d976dbaed9067b21dbc372c52be104ef33417.tar.gz emacs-189d976dbaed9067b21dbc372c52be104ef33417.zip | |
Fix statement indent for c-ts-mode (bug#59686) (bug#60280)
Instead of trying to figure out the correct anchor, now we just count
the layers of {} blocks between the node and the root node.
* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--indent-styles): Use new offset functions
c-ts-mode--close-bracket-offset and c-ts-mode--statement-offset.
(c-ts-mode--bracket-children-anchor): Remove function.
(c-ts-mode--top-level-label-matcher): New variable.
(c-ts-mode--statement-offset)
(c-ts-mode--close-bracket-offset): New offset functions.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions