From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 8b2ee1bf for ; Tue, 2 Jul 2019 00:03:45 +0000 (UTC) Received: (qmail 13320 invoked by alias); 2 Jul 2019 00:03:32 -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: 24002 Received: (qmail 12169 invoked by uid 1010); 2 Jul 2019 00:03:31 -0000 X-Qmail-Scanner-Diagnostics: from mail-oi1-f196.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25496. spamassassin: 3.4.2. Clear:RC:0(209.85.167.196):SA:0(-2.1/5.0):. Processed in 4.225309 secs); 02 Jul 2019 00:03:31 -0000 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.167.196 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=xVzJkKV6ACfNXU+YPJ0jqOF3GZJCjhsLHUUa3lsGzsU=; b=Dx+RO/24G8YebSMz61c02rqf+VBMK3ef3bI9iXsWNdaTn4EqtMjdghuScaPMkTV5uV 4MfXyflbDp81EpGpe5Ca054b6hBWW40yZCoxf9WpF9O1rULCGT89SBtDmoDy1Z4UoDgf BfghtnljS8Ou3Cg9r8Wz61Hkqfzs2cYlyTiIuZozhiwF+ROh/w/siKTBc71Y2TEsEtXf wrjO4VIFfGU+ZL6fDmV2gChOCx1XUX2HP4WHlaKhMXcDA+FXJEvi/YJVEFA1vkQnoXxT K/kc6tzC1D5FiN5SRpWAfO1re3KlV1uUAjIAF0eY7ylHbAXI+4n9n4hsqr7xizZ7fvm+ EOfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=xVzJkKV6ACfNXU+YPJ0jqOF3GZJCjhsLHUUa3lsGzsU=; b=UnUvRVkOw54Z/Avjai2vkDlQO40t65B8cLr9hadYpYOo8eU5Pz9Taw4YDovVBhYoba rBue1cWiy3ZQZYhBbLt2PL97tErDs9wEUoU/rO34QV2EO0WGUhKzyIAlsd6n6SmI4u1k SQ2cSdMApeD0A1zPIkTk7cj9kx6eUz1uamj1LXo2c0xE/NgROU28jqkXQhTex4rwVhvX 8cyfcKtud/MXk9XHdZZfPOU2QXTyqD1nQmhk2IZgedjHRgEhuQDslpjMzrtA0WXZJKVg kMsb726ttm2+vZsZMuFHoxNeWCzGnqYsu2FfUcVAuIUXz9A8poBmKjblEFiuVK/q3F1t znVw== X-Gm-Message-State: APjAAAUO5V+SoQr3z62lOGbdvUPIMUlBM8BbQQ+izFe0QuUkHFJxL6r/ iugNVixvflxgJzCz8NLKxKWZ4+G2zqOaTweFPfYD10QYrms= X-Google-Smtp-Source: APXvYqzb6yAObTop4lLF7V8ShM0yju+WdcKX2zNhNx6LLWwPCisFFHH+2ge/u1z3OT1cEm7/6f79FjMsnuSKRcostVA= X-Received: by 2002:aca:3602:: with SMTP id d2mr1231653oia.150.1562025772963; Mon, 01 Jul 2019 17:02:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Sebastian Gniazdowski Date: Tue, 2 Jul 2019 02:02:41 +0200 Message-ID: Subject: Re: Fast-Syntax-Highlighting _adaptive_ Git support To: Zsh Users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I just wanted to share that F-Sy-H now has a specific-highlighter also for zplugin command. A demonstration screencast: https://asciinema.org/a/254630 On Thu, 27 Jun 2019 at 22:47, Sebastian Gniazdowski wrote: > > Hello, > the new Git support in F-Sy-H is **adaptive** =E2=80=93 despite being > specific-command oriented (like it was before). This means that not > only the highlighting detects Git specifics and e.g. verifies if the > entered tag or branch is correct, but also that it changes the > expected command syntax on-the-fly, according to the options entered. > > For example git fetch --multiple gets only a series of repository > names, not a single repository name and a series of refspecs like it > does normally. > > This allows to verify the correctness of the entered git command even > before executing it. Little implementation background =E2=80=93 all this = is > based on an abstract definitions with a custom syntax, in general no > code has to be written (only basic callbacks). > > Asciinema screencast of the feature: https://asciinema.org/a/253411 > > -- > Sebastian Gniazdowski > News: https://twitter.com/ZdharmaI > IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin > Blog: http://zdharma.org --=20 Sebastian Gniazdowski News: https://twitter.com/ZdharmaI IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin Blog: http://zdharma.org