1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Add support for Zsh's case branches ;|.

* lisp/progmodes/sh-script.el (sh-font-lock-paren)
(sh-smie-sh-grammar, sh-smie-sh-rules, sh-smie-rc-grammar):
Support case branches ending with ";|", per Zsh.  (Bug#60833)

* test/manual/indent/shell.sh (bar): Add ";|".
This commit is contained in:
Philippe Altherr 2023-01-15 13:37:00 +01:00 committed by Eli Zaretskii
parent 30e2a85717
commit 68f49083af
2 changed files with 12 additions and 7 deletions

View file

@ -140,6 +140,7 @@ foo () {
5) hello ;;
4) hello ;&
4) hello ;;&
4) hello ;|
5) hello ;;
5) hello ;;
esac