summaryrefslogtreecommitdiff
path: root/misc/halibut.vim
diff options
context:
space:
mode:
authorJacob Nevins <jacobn@chiark.greenend.org.uk>2004-06-19 13:27:52 +0000
committerJacob Nevins <jacobn@chiark.greenend.org.uk>2004-06-19 13:27:52 +0000
commit74336fafa76835cc20e21bbc06ab77c6724be3d5 (patch)
treef63736b53843b008a20aaf032013aebf48e4664b /misc/halibut.vim
parent5ebd9f206b6b60c151abbcadc02c0fbf5bd9cadd (diff)
downloadhalibut-74336fafa76835cc20e21bbc06ab77c6724be3d5.zip
halibut-74336fafa76835cc20e21bbc06ab77c6724be3d5.tar.gz
halibut-74336fafa76835cc20e21bbc06ab77c6724be3d5.tar.bz2
halibut-74336fafa76835cc20e21bbc06ab77c6724be3d5.tar.xz
Support \I\c, \I\cw. (Haven't bothered with \I\e since the emphasis may as
well outweigh the "invisibility".) [originally from svn r4290]
Diffstat (limited to 'misc/halibut.vim')
-rw-r--r--misc/halibut.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/halibut.vim b/misc/halibut.vim
index bf62fe3..c08f4c8 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.10 2004/04/28 17:34:54 jacob Exp $
+" Version: $Id: halibut.vim,v 1.11 2004/06/19 13:27:52 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,13 +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)
+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 "\\W{\@=" nextgroup=butHyperArg
-" Indexing -- invisible entries.
-syn match butCmdSpecific "\\I{\@=" nextgroup=butIndexArg
" Xref commands
syn match butCmdSpecific "\\[kK]{\@=" nextgroup=butIdentArg
" Unicode literal -- a bit special.