1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00
emacs/test/lisp/progmodes
Konstantin Kharlamov 9750333dde
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.
2025-04-18 16:40:06 -07:00
..
c-ts-mode-resources ; Fix typos 2024-10-27 07:49:32 +01:00
cperl-mode-resources ; cperl-mode.el: Don't misinterpret exec_fcn as keyword exec 2025-03-09 16:26:51 +01:00
csharp-mode-resources Fix last change 2024-04-25 18:59:25 +03:00
elisp-mode-resources
elixir-ts-mode-resources ; Fix typos 2024-01-28 17:11:51 +01:00
flymake-resources
go-ts-mode-resources Fix go-ts-mode const_spec highlighting (Bug#76330) 2025-03-01 14:12:30 +02:00
heex-ts-mode-resources Add expression handling to heex-ts-mode 2025-01-03 09:41:15 +01:00
java-ts-mode-resources java-ts-mode: Indentation for opening brace on a separate line 2024-02-17 22:35:16 +02:00
js-resources Add indentation rules for bracketless statements in js-ts-mode 2023-12-12 03:13:12 +02:00
lua-ts-mode-resources ; Cleanup sexp things in 'lua-ts-mode' 2025-03-01 14:59:56 +02:00
project-resources
ruby-mode-resources Support the new option in ruby-ts-mode too 2024-09-02 21:57:35 +03:00
rust-ts-mode-resources Add rust-ts-mode font-locking tests (bug#70464) 2024-04-21 21:49:19 -07:00
sh-script-resources Make sh-script-tests.el more robust 2024-04-05 19:43:56 +02:00
typescript-ts-mode-resources Fix typescript-ts-mode indentation (bug#77803) 2025-04-18 16:40:06 -07:00
xref-resources
asm-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
autoconf-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bat-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bug-reference-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
c-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
compile-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cperl-mode-tests.el ; cperl-mode-tests.el: Don't run the newest test in perl-mode 2025-01-14 12:17:47 +01:00
csharp-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eglot-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
elisp-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
elixir-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
etags-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
executable-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
f90-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
flymake-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
gdb-mi-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
glasses-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
go-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
grep-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
heex-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
hideshow-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
java-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
js-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
lua-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
octave-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
opascal-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
pascal-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
peg-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
perl-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
project-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ps-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
python-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ruby-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ruby-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
rust-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
scheme-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sh-script-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sql-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
subword-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tcl-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
typescript-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
which-func-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
xref-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00