From: jacob Date: Fri, 16 Jul 2004 12:54:59 +0000 (+0000) Subject: Tweak for \cq (probably unnecessary) X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/commitdiff_plain/104b744cf10a807b8a644b3861709380567cf081 Tweak for \cq (probably unnecessary) git-svn-id: svn://svn.tartarus.org/sgt/halibut@4328 cda61777-01e9-0310-a592-d414129be87e --- 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 " 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