summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRandy Taylor <dev@rjt.dev>2023-01-28 21:21:29 -0500
committerYuan Fu <casouri@gmail.com>2023-01-29 00:28:48 -0800
commit64fee21d5f85db465198970a4d636cb17d500f26 (patch)
tree83775e54f18a7b8fb8bf356680bbe0b53f104a68 /lisp/emacs-lisp
parent1970726e26a979243925fabe32686ba2ee757c6b (diff)
downloademacs-64fee21d5f85db465198970a4d636cb17d500f26.tar.gz
emacs-64fee21d5f85db465198970a4d636cb17d500f26.tar.bz2
emacs-64fee21d5f85db465198970a4d636cb17d500f26.zip
Fix dockerfile-ts-mode line continuation indentation (bug#61131)
Without this rule, line continuations are only indented after entering the contents for the line and hitting TAB or RET. For example: ``` EXPOSE 1 \ ``` After hitting RET to go to the next line, point would end up at BOL instead of lining up with the previous entry, like so: ``` EXPOSE 1 \ 2 ``` The new rule will indent it as so: ``` EXPOSE 1 \ 2 ``` * lisp/progmodes/dockerfile-ts-mode.el: (dockerfile-ts-mode--indent-rules): New rule. (dockerfile-ts-mode--line-continuation-p) (dockerfile-ts-mode--line-continuation-anchor): New functions.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions