diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2023-02-08 23:03:35 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2023-02-12 10:26:12 +0100 |
| commit | 2fbc51551087f24ff3d3425cb63549848ae032ef (patch) | |
| tree | 9405d27103c3d9585daec6a33c7908218791b334 | |
| parent | dda327f9a37b66a3d7110ac2c4cf65d28531ded4 (diff) | |
| download | dotfiles-2fbc51551087f24ff3d3425cb63549848ae032ef.tar.xz | |
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)".
| -rw-r--r-- | .emacs.d/eighters-theme.el | 2 |
1 files changed, 2 insertions, 0 deletions
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)))) |
