commit 2fbc51551087f24ff3d3425cb63549848ae032ef
parent dda327f9a37b66a3d7110ac2c4cf65d28531ded4
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date: Wed, 8 Feb 2023 23:03:35 +0100
Theme heredocs and subcommands
Ideally I'd like Emacs to stop highlighting subcommands altogether,
since it can't properly figure out nested commands, and it does not
append sh-quoted-exec to whatever face is already there, e.g. when
writing a subcommand in a string "$(like this)".
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.emacs.d/eighters-theme.el b/.emacs.d/eighters-theme.el
@@ -353,6 +353,8 @@
`(org-verbatim ((t (:background ,bg-hl-dim :foreground ,fg-magenta :inherit fixed-pitch-serif))))
`(region ((t (:background ,bg-blue))))
`(separator-line ((t (:background ,bg-hl :height 0.1))))
+ `(sh-heredoc ((t (:background ,bg-hl-dimmer :extend t :inherit fixed-pitch-serif))))
+ `(sh-quoted-exec ((t (:background ,bg-hl-dim :inherit fixed-pitch-serif))))
`(shadow ((t (:foreground ,fg-dimmer))))
`(show-paren-match ((t (:foreground ,fg-cyan :inverse-video t))))
`(show-paren-mismatch ((t (:foreground ,fg-red :inverse-video t))))