summaryrefslogtreecommitdiff
path: root/misc/halibut.vim
diff options
context:
space:
mode:
authorJacob Nevins <jacobn@chiark.greenend.org.uk>2004-04-01 23:21:28 +0000
committerJacob Nevins <jacobn@chiark.greenend.org.uk>2004-04-01 23:21:28 +0000
commit1f51393b68a40e293ecabe8ebb3d5e1bc3524dd2 (patch)
treeed5f4d239c9cd6560bdcba35cdad0ac0b7e5bfb2 /misc/halibut.vim
parent26bdfbb2edec1daf69f72bc78aeabf41928b2d6f (diff)
downloadhalibut-1f51393b68a40e293ecabe8ebb3d5e1bc3524dd2.zip
halibut-1f51393b68a40e293ecabe8ebb3d5e1bc3524dd2.tar.gz
halibut-1f51393b68a40e293ecabe8ebb3d5e1bc3524dd2.tar.bz2
halibut-1f51393b68a40e293ecabe8ebb3d5e1bc3524dd2.tar.xz
Add stuff to butCmd para so that constructs like \c don't break inside
\quote{...} [originally from svn r4034]
Diffstat (limited to 'misc/halibut.vim')
-rw-r--r--misc/halibut.vim4
1 files changed, 2 insertions, 2 deletions
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 <jacobn+vim@chiark.greenend.org.uk>
" 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