diff options
| author | Konstantin Kharlamov | 2025-04-15 17:34:11 +0300 |
|---|---|---|
| committer | Yuan Fu | 2025-04-18 16:40:06 -0700 |
| commit | 9750333dde9d23510341632d1c9a950d9c67415c (patch) | |
| tree | be12fd26c3bfabfda2047bd197b27993619539a7 /java | |
| parent | ef8bfe90b7201f9f42484219267cec9d79d5b938 (diff) | |
| download | emacs-9750333dde9d23510341632d1c9a950d9c67415c.tar.gz emacs-9750333dde9d23510341632d1c9a950d9c67415c.zip | |
Fix typescript-ts-mode indentation (bug#77803)
Don't align variable names to their declaratory expression.
Before this commit in code like:
const a = 1,
b = 2;
the b would get indented to `const'. Similarly for `var' and
`let'. The expected behavior instead is getting indented to
`typescript-ts-mode-indent-offset'.
* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--indent-rules): Indent identifiers declarations to
`typescript-ts-mode-indent-offset'.
* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts
(Lexical and variable declarations): Update test accordingly.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions