Philippe Altherr
30e2a85717
Use 'sh-indent-for-continuation' for continued lines in 'sh-script-mode'
...
* lisp/progmodes/sh-script.el (sh-smie--indent-continuation): Use
'sh-indent-for-continuation' instead of 'sh-basic-offset'.
(Bug#60832)
* test/lisp/progmodes/sh-script-tests.el
(test-indent-after-continuation): New test.
2023-03-02 12:37:58 +02:00
Eli Zaretskii
cae528457c
; Add 2023 to copyright years.
2023-01-01 05:31:12 -05:00
Lars Ingebrigtsen
985e7148a7
Improve indentation of some shell script forms
...
* lisp/progmodes/sh-script.el (sh-smie--default-backward-token):
Don't skip past things like "true;then" (bug#53817).
2022-02-07 09:13:54 +01:00
Eli Zaretskii
19dcb237b5
; Add 2022 to copyright years.
2022-01-01 02:45:51 -05:00
Lars Ingebrigtsen
7d7e8a9c15
Add a test for bug#50320 in sh-script
2021-09-02 08:43:48 +02:00
Lars Ingebrigtsen
f143260d04
Revert "Tweak sh-script-mode indentation further"
...
This reverts commit 6392bc37ab .
The changes led to errors throughout (bug#50320).
2021-09-02 08:41:30 +02:00
Kévin Le Gouguec
6392bc37ab
Tweak sh-script-mode indentation further
...
* lisp/progmodes/sh-script.el (sh-smie--default-backward-token):
Allow more parentheses in a token (bug#44592).
2021-08-29 21:32:01 +02:00
Dario Gjorgjevski
4bb70549f7
Fix shell-script-mode indentation of continuation lines
...
* lisp/progmodes/sh-script.el (sh-smie--default-backward-token):
Fix indentation of continuation lines (bug#44592).
2021-08-27 19:08:41 +02:00