summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2023-02-08 23:03:35 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2023-02-12 10:26:12 +0100
commit2fbc51551087f24ff3d3425cb63549848ae032ef (patch)
tree9405d27103c3d9585daec6a33c7908218791b334 /.emacs.d
parentdda327f9a37b66a3d7110ac2c4cf65d28531ded4 (diff)
downloaddotfiles-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)".
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/eighters-theme.el2
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))))