From 2fbc51551087f24ff3d3425cb63549848ae032ef Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Wed, 8 Feb 2023 23:03:35 +0100 Subject: 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)". --- .emacs.d/eighters-theme.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.emacs.d/eighters-theme.el b/.emacs.d/eighters-theme.el index cc977cf..9da1beb 100644 --- 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)))) -- cgit v1.2.3