1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/test/lisp/progmodes
Mauro Aranda ad02fc212b Fix indentation and fontification in shell-script (Bug#26217)
* lisp/progmodes/sh-script.el (sh-smie--sh-keyword-p): Treat "do" as
special, like we treat "in".
(sh-smie--sh-keyword-in-p): Change signature.  Take the token to
decide correctly if it's a keyword.
(sh-font-lock-keywords-var-1): Add do.

* test/lisp/progmodes/sh-script-resources/sh-indents.erts: New test.
* test/lisp/progmodes/sh-script-tests.el
(sh-script-test-do-fontification): New test.
2023-10-14 11:00:15 -04:00
..
c-ts-mode-resources Fix some cases of incomplete code's indentation [c/c++-ts-mode] 2023-04-10 02:58:46 +03:00
cperl-mode-resources cperl-mode.el: Optionally treat trailing text as comment 2023-10-14 00:34:41 +02:00
elisp-mode-resources
elixir-ts-mode-resources Fix treesit-langauge-at-point for elixir-ts-mode. 2023-09-26 23:23:54 -07:00
flymake-resources
go-ts-mode-resources Fix switch statement indentation for go-ts-mode (bug#61238) 2023-02-04 19:26:05 +01:00
heex-ts-mode-resources Add heex-ts-mode (Bug#61996) 2023-03-12 17:40:06 +02:00
java-ts-mode-resources Add more java indentation tests 2023-02-10 20:22:31 +01:00
js-resources
lua-ts-mode-resources bug#65673: Add lua-ts-mode 2023-09-16 13:01:43 +03:00
project-resources
ruby-mode-resources ruby-mode: Fix method call indentation in rhs of multiple assignment 2023-02-28 23:01:04 +02:00
sh-script-resources Fix indentation and fontification in shell-script (Bug#26217) 2023-10-14 11:00:15 -04:00
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 Cleanup preproc indent for c-ts-mode (bug#61558) 2023-02-19 20:47:05 +01:00
cc-mode-tests.el
compile-tests.el Omit the omake compilation-mode rule by default 2023-10-05 12:25:57 +02:00
cperl-mode-tests.el cperl-mode.el: Optionally treat trailing text as comment 2023-10-14 00:34:41 +02:00
eglot-tests.el ; Silence byte-compiler 2023-09-06 14:15:00 +02:00
elisp-mode-tests.el Use new ERT skip-when macro in tests 2023-09-04 18:25:18 +02:00
elixir-ts-mode-tests.el ; Fix source file headers for some test files (bug#62227) 2023-03-17 09:05:50 +02:00
etags-tests.el
executable-tests.el
f90-tests.el
flymake-tests.el Flymake: unbreak tests 2023-09-24 09:07:27 +01:00
gdb-mi-tests.el
glasses-tests.el
go-ts-mode-tests.el Fix switch statement indentation for go-ts-mode (bug#61238) 2023-02-04 19:26:05 +01:00
grep-tests.el New user option 'grep-use-headings' 2023-02-27 21:14:47 +02:00
heex-ts-mode-tests.el ; Fix source file headers for some test files (bug#62227) 2023-03-17 09:05:50 +02:00
hideshow-tests.el
java-ts-mode-tests.el
js-tests.el Make js-beginning-of-defun return non-nil on success 2023-06-29 08:37:15 +03:00
lua-ts-mode-tests.el bug#65673: Add lua-ts-mode 2023-09-16 13:01:43 +03:00
octave-tests.el
opascal-tests.el
pascal-tests.el
perl-mode-tests.el Fix perl-mode indentation after a hanging paren 2023-09-07 00:13:53 +02:00
project-tests.el (project-try-vc): When found non-VC project root, still search for the backend 2023-09-06 23:30:42 +03:00
ps-mode-tests.el
python-tests.el Use new ERT skip-when macro in tests 2023-09-04 18:25:18 +02:00
ruby-mode-tests.el ruby-add-log-current-method: Reduce the use of 'nreverse' 2023-04-13 00:46:11 +03:00
ruby-ts-mode-tests.el Skip ruby-ts-imenu-index test if needed 2023-03-28 13:04:09 +02:00
scheme-tests.el
sh-script-tests.el Fix indentation and fontification in shell-script (Bug#26217) 2023-10-14 11:00:15 -04:00
sql-tests.el
subword-tests.el
tcl-tests.el
typescript-ts-mode-tests.el
xref-tests.el