diff options
| author | Mauro Aranda | 2023-10-14 09:05:35 -0300 |
|---|---|---|
| committer | Stefan Monnier | 2023-10-14 11:00:15 -0400 |
| commit | ad02fc212b5a88d2ea793858d538809d9976b154 (patch) | |
| tree | 7552c560f37894fc2c03b8301fb6eddb63443018 /java/org | |
| parent | 1f95f91d855b8e6fd4221650b7878008f7665454 (diff) | |
| download | emacs-ad02fc212b5a88d2ea793858d538809d9976b154.tar.gz emacs-ad02fc212b5a88d2ea793858d538809d9976b154.zip | |
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.
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions