From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2825 invoked by alias); 27 May 2018 15:54:48 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23407 Received: (qmail 17767 invoked by uid 1010); 27 May 2018 15:54:48 -0000 X-Qmail-Scanner-Diagnostics: from forward104p.mail.yandex.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(77.88.28.107):SA:0(-2.6/5.0):. Processed in 3.184101 secs); 27 May 2018 15:54:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: zsh@mva.name X-Qmail-Scanner-Mime-Attachments: |signature.asc| X-Qmail-Scanner-Zip-Files: | From: "Vadim A. Misbakh-Soloviov" To: zsh-users@zsh.org Subject: Re: Colorful new fast-syntax-highlighting Date: Sun, 27 May 2018 18:54:35 +0300 Message-ID: <2520527.qaVKfP2GYF@tp> In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3024631.VXByHRK6Fu"; micalg="pgp-sha256"; protocol="application/pgp-signature" --nextPart3024631.VXByHRK6Fu Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Can you make it also support truecolor (24bit) colors as well, please? As far as I see from themes (ini-files) there is support for "named" colors= =20 and 0-256 as a values. But zsh also supports 24bit color assignments as well: for example, `printf '\x1b[38;2;%s;%s;%sm' $RED $GREEN $BLUE` (and `[48;2` = for=20 background). And I'd very like to make custom 24bit hl-theme to match my custom prompt=20 theme. Thanks in advance! :D > FSH now supports 256-color themes. I must say that the difference from > the default rigid 8-color palette is quite drastic. Asciinema > recording presenting six shipped themes: > https://asciinema.org/a/183814 >=20 > > Hello > > Decided to write because it will be all colorful images: > >=20 > > a) colorizing of assignments: > >=20 > > http://psprint.blinkenshell.org/assign.png > >=20 > > b) colorizing of typeset/export/etc. assignments (different state-path > > in parser): > >=20 > > http://psprint.blinkenshell.org/typeset.png > >=20 > > c) special math-mode for zcalc > >=20 > > http://psprint.blinkenshell.org/fsyh-zcalc.png > >=20 > > d) the detection of blank variables above in zcalc =E2=80=93 also in ad= vanced way: > >=20 > > https://asciinema.org/a/3iHdW7gYYrJOyhiHPHLTXnzKc > >=20 > > All in fast-syntax-highlighting, > > https://github.com/zdharma/fast-syntax-highlighting > >=20 > > -- > > Best regards, > > Sebastian Gniazdowski --nextPart3024631.VXByHRK6Fu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQTxiw6i5QzSBiZgM/FnZfRvKOlgfgUCWwrUuwAKCRBnZfRvKOlg fsICAP9Ebp7r16vQKOxX2mkNEGihI0nOapllFvCMtrbE4/oeuAEA5r+I4/3LcF4V FfioeEaZ51k/gT9aCC2VJDWaw8HBEAc= =CaDC -----END PGP SIGNATURE----- --nextPart3024631.VXByHRK6Fu--