On Sun, Sep 03, 2023 at 05:33:22AM -0700, Ron Aaron wrote:
> I was just given a bug report for a new version of my syntax file, and the
> problem is that a syntax keyword with a lone '[' doesn't work (it causes an
> error message E789)
See ":help E789":
< *E789* *E890*
When you have a keyword with an optional tail, like Ex commands in
Vim, you can put the optional characters inside [], to define all the
variations at once: >
:syntax keyword vimCommand ab[breviate] n[ext]
So it seems like there needs to be a mechanism to opt out of this
syntax for your case.
Cheers,
--
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB