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 -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/20230903140315.aq7x7obwekmbgb7z%40localhost.