* Beautiful syntax-highlighting of $(command) substitution
@ 2018-06-01 15:21 Sebastian Gniazdowski
0 siblings, 0 replies; only message in thread
From: Sebastian Gniazdowski @ 2018-06-01 15:21 UTC (permalink / raw)
To: Zsh Users
[-- Attachment #1: Type: text/plain, Size: 631 bytes --]
Hello,
fast-syntax-highlighting supports themes and highlighting of $(). This
opened a way to implement: use distinct theme for $() interior. Effect
is in attached file. Additional axample:
http://psprint.blinkenshell.org/cmdsubst3.png
The secondary theme is specified by simple entry in theme ini-file:
https://github.com/zdharma/fast-syntax-highlighting/blob/master/themes/clean.ini#L7
If (Z+x+) flag will be implemented in Zshell, it will be possible to
do all this very correctly, robustly.
Also check out 256-color themes, the difference to default "rigid" 8
colors is drastic:
http://psprint.blinkenshell.org/theme.png
[-- Attachment #2: cmdsubst2.png --]
[-- Type: image/png, Size: 8604 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-01 15:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-01 15:21 Beautiful syntax-highlighting of $(command) substitution Sebastian Gniazdowski
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).