From eb4d33e66b85887e34536237e2500075fcd48e5b Mon Sep 17 00:00:00 2001 From: jacob Date: Thu, 1 Apr 2004 22:52:46 +0000 Subject: [PATCH] Oops, fix bracing comment stuff. git-svn-id: svn://svn.tartarus.org/sgt/halibut@4032 cda61777-01e9-0310-a592-d414129be87e --- misc/halibut.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/halibut.vim b/misc/halibut.vim index 67e3a38..a344306 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.4 2004/04/01 22:50:12 jtn Exp $ +" Version: $Id: halibut.vim,v 1.5 2004/04/01 22:52:46 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 @@ -57,8 +57,8 @@ syn match butQLEmphInv "\S\@=[^bi]" contained syn region butCommentPara start="\\#\_s\@=" end="^\s*$" contains=butTodo " Inline comments -- nested braces are honoured. -syn region butComment matchgroup=Comment start="\\#{" skip="\}" end="}" contains=butCommentBrace,butTodo -syn region butCommentBrace start="{" skip="\}" end="}" contains=butCommentBrace,butTodo contained transparent +syn region butComment matchgroup=Comment start="\\#{" skip="\\}" end="}" contains=butCommentBrace,butTodo +syn region butCommentBrace start="{" skip="\\}" end="}" contains=butCommentBrace,butTodo contained transparent " Section headings - a bit hairy. Order wrt rest of file is important. syn match butCmdSpecific "\\\(S\d\|[CAHS]\)" nextgroup=butIdentArgH -- 2.11.0