summaryrefslogtreecommitdiff
path: root/misc/halibut.vim
diff options
context:
space:
mode:
authorJacob Nevins <jacobn@chiark.greenend.org.uk>2004-07-16 12:54:59 +0000
committerJacob Nevins <jacobn@chiark.greenend.org.uk>2004-07-16 12:54:59 +0000
commit970df2cc7b4eb0007b70e4615e31ad780ed35d5f (patch)
treef9c80d98a00fe4a278d4227cc7a55d6b93e4f2dc /misc/halibut.vim
parentea8075f55ea0bfc2ed04c9efa0e03c2468962eec (diff)
downloadhalibut-970df2cc7b4eb0007b70e4615e31ad780ed35d5f.zip
halibut-970df2cc7b4eb0007b70e4615e31ad780ed35d5f.tar.gz
halibut-970df2cc7b4eb0007b70e4615e31ad780ed35d5f.tar.bz2
halibut-970df2cc7b4eb0007b70e4615e31ad780ed35d5f.tar.xz
Tweak for \cq (probably unnecessary)
[originally from svn r4328]
Diffstat (limited to 'misc/halibut.vim')
-rw-r--r--misc/halibut.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/halibut.vim b/misc/halibut.vim
index c08f4c8..49b2380 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.11 2004/06/19 13:27:52 jacob Exp $
+" Version: $Id: halibut.vim,v 1.12 2004/07/16 12:54:59 jacob 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
@@ -91,12 +91,13 @@ syn match butCmdSpecific "\\define{\@=" nextgroup=butIdentArg
" Specific inline commands
" (Some of these are defined out of paranoia about clashes with code quotes.)
-" Indexing -- invisible entries. (includes \I\c, \I\cw; \I\e left)
+" Indexing -- invisible entries. (includes \I\c, \I\cw; \I\e left; no \q, \cq)
syn match butCmdSpecific "\\I\(\\cw\|\\c\)\={\@=" nextgroup=butIndexArg
" Formatting.
syn match butCmdSpecific "\\e{\@=" nextgroup=butEmphArg
syn match butCmdSpecific "\\c{\@=" nextgroup=butTextArg
syn match butCmdSpecific "\\cw{\@=" nextgroup=butTextArg
+syn match butCmdSpecific "\\cq{\@=" nextgroup=butTextArg
syn match butCmdSpecific "\\W{\@=" nextgroup=butHyperArg
" Xref commands
syn match butCmdSpecific "\\[kK]{\@=" nextgroup=butIdentArg