zsh-workers
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Jun-T <takimoto-j@kba.biglobe.ne.jp>
Cc: zsh-workers@zsh.org
Subject: Re: [docs bug] FAQ contains yodl macros in generated HTML
Date: Mon, 14 Feb 2022 17:11:00 +0000	[thread overview]
Message-ID: <20220214171100.GO13291@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <BEA0AB4D-AE3A-4879-86C9-C0C406BD4E74@kba.biglobe.ne.jp>

Jun-T wrote on Mon, Feb 14, 2022 at 20:13:16 +0900:
> There may be many ways to fix the problem. The patch below uses
> SUBST(_LPAR_)(CHAR(40)) instead of def(LPAR)(0)(CHAR(40)), because the substitution
> works even in NOEXPAND().

Thanks!

Here's the zyodl.vim diff for that, too.

Cheers,

Daniel


diff --git a/Util/zyodl.vim b/Util/zyodl.vim
index 91cac072b..7579365ac 100644
--- a/Util/zyodl.vim
+++ b/Util/zyodl.vim
@@ -82,6 +82,8 @@ syn keyword zyodlBullet  itemiz      conceal cchar=•
 syn match   zyodlSpecial "\<DASH()-" conceal cchar=—
 syn match   zyodlSpecial "+\?LPAR()" conceal cchar=(
 syn match   zyodlSpecial "+\?RPAR()" conceal cchar=)
+syn match   zyodlSpecial "+\?_LPAR_" conceal cchar=(
+syn match   zyodlSpecial "+\?_RPAR_" conceal cchar=)
 syn match   zyodlSpecial "+\?PLUS()" conceal cchar=+
 syn match   zyodlFAQDash "+\?\<emdash()" conceal cchar=—
  



      reply	other threads:[~2022-02-14 17:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-12 18:52 Daniel Shahaf
2022-02-14 11:13 ` Jun-T
2022-02-14 17:11   ` Daniel Shahaf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220214171100.GO13291@tarpaulin.shahaf.local2 \
    --to=d.s@daniel.shahaf.name \
    --cc=takimoto-j@kba.biglobe.ne.jp \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).