mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Check for ':' and '=>' as previous tokens, and handle symbols ending with ':' to properly indent keyword argument arrays and hashes when ruby-bracketed-args-indent is nil. * lisp/progmodes/ruby-ts-mode.el (ruby-ts--parent-call-or-bol): Handle arrays/hashes that are children of 'pair' nodes (keyword arguments) to ensure consistent indentation. * test/lisp/progmodes/ruby-mode-resources/ruby-bracketed-args-indent.rb: Add test cases for keyword argument arrays and hashes with both symbol-colon and hash-rocket syntax. When ruby-bracketed-args-indent is nil, arrays and hashes used as keyword argument values now indent by ruby-indent-level from the line start, matching the documented behavior and fixing inconsistent indentation (bug#74517). (https://lists.gnu.org/archive/html/emacs-devel/2025-11/msg00939.html) |
||
|---|---|---|
| .. | ||
| autoconf-resources | ||
| c-ts-mode-resources | ||
| cperl-mode-resources | ||
| csharp-mode-resources | ||
| elisp-mode-resources | ||
| elixir-ts-mode-resources | ||
| flymake-resources | ||
| go-ts-mode-resources | ||
| heex-ts-mode-resources | ||
| java-ts-mode-resources | ||
| js-resources | ||
| lua-mode-resources | ||
| lua-ts-mode-resources | ||
| project-resources | ||
| ruby-mode-resources | ||
| rust-ts-mode-resources | ||
| sh-script-resources | ||
| typescript-ts-mode-resources | ||
| xref-resources | ||
| asm-mode-tests.el | ||
| autoconf-tests.el | ||
| bat-mode-tests.el | ||
| bug-reference-tests.el | ||
| c-ts-mode-tests.el | ||
| cc-mode-tests.el | ||
| compile-tests.el | ||
| cperl-mode-tests.el | ||
| csharp-mode-tests.el | ||
| eglot-tests.el | ||
| elisp-mode-tests.el | ||
| elixir-ts-mode-tests.el | ||
| etags-tests.el | ||
| executable-tests.el | ||
| f90-tests.el | ||
| flymake-tests.el | ||
| gdb-mi-tests.el | ||
| glasses-tests.el | ||
| go-ts-mode-tests.el | ||
| grep-tests.el | ||
| heex-ts-mode-tests.el | ||
| hideshow-tests.el | ||
| java-ts-mode-tests.el | ||
| js-tests.el | ||
| lua-mode-tests.el | ||
| lua-ts-mode-tests.el | ||
| make-mode-tests.el | ||
| octave-tests.el | ||
| opascal-tests.el | ||
| pascal-tests.el | ||
| peg-tests.el | ||
| perl-mode-tests.el | ||
| project-tests.el | ||
| ps-mode-tests.el | ||
| python-tests.el | ||
| ruby-mode-tests.el | ||
| ruby-ts-mode-tests.el | ||
| rust-ts-mode-tests.el | ||
| scheme-tests.el | ||
| sh-script-tests.el | ||
| sql-tests.el | ||
| subword-tests.el | ||
| tcl-tests.el | ||
| typescript-ts-mode-tests.el | ||
| which-func-tests.el | ||
| xref-tests.el | ||