aboutsummaryrefslogtreecommitdiffstats
path: root/java/org/gnu
diff options
context:
space:
mode:
authorMauro Aranda2023-10-14 09:05:35 -0300
committerStefan Monnier2023-10-14 11:00:15 -0400
commitad02fc212b5a88d2ea793858d538809d9976b154 (patch)
tree7552c560f37894fc2c03b8301fb6eddb63443018 /java/org/gnu
parent1f95f91d855b8e6fd4221650b7878008f7665454 (diff)
downloademacs-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/gnu')
0 files changed, 0 insertions, 0 deletions