From: jacob Date: Thu, 1 Apr 2004 23:21:28 +0000 (+0000) Subject: Add stuff to butCmd para so that constructs like \c don't break inside X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/commitdiff_plain/be78a7b96a8f440ae1d508ccf8b39392d0668878 Add stuff to butCmd para so that constructs like \c don't break inside \quote{...} git-svn-id: svn://svn.tartarus.org/sgt/halibut@4034 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/misc/halibut.vim b/misc/halibut.vim index 6443471..d109ad7 100644 --- a/misc/halibut.vim +++ b/misc/halibut.vim @@ -3,7 +3,7 @@ " Maintainer: Jacob Nevins " URL: http://www.chiark.greenend.org.uk/~sgtatham/halibut/ " Filenames: *.but -" Version: $Id: halibut.vim,v 1.6 2004/04/01 23:06:46 jtn Exp $ +" Version: $Id: halibut.vim,v 1.7 2004/04/01 23:21:28 jtn Exp $ " I've never been entirely comfortable with vim's syntax highlighting " facilities, so this may have all sorts of nasty loose ends, corner cases @@ -101,7 +101,7 @@ syn match butCmdSpecific "\\[kK]{\@=" nextgroup=butIdentArg syn match butLiteral "\\u\x*" nextgroup=butTextArg " Command cluster. -syn cluster butCmd contains=butCmdGeneric,butCmdSpecific,ButComment +syn cluster butCmd contains=butCmdGeneric,butCmdSpecific,butComment,butQuoteLit,butQLEmph,butCommentPara,butLiteral " Types of argument. XXX is this cluster still useful? syn cluster butArgument contains=butTextArg,butIdentArg,butEmphArgmbutCfgArg,butIdentArgH,butTextArgH