diff options
| author | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2004-04-01 22:52:46 +0000 |
|---|---|---|
| committer | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2004-04-01 22:52:46 +0000 |
| commit | 6b6227d7d11f84cb9d866ff81034f105af2b272e (patch) | |
| tree | ea5ff7ac51a1889b086ca83558057247855ed382 /misc | |
| parent | 26cb250208091dcd975e1eb69f95ccf1a339ec60 (diff) | |
| download | halibut-6b6227d7d11f84cb9d866ff81034f105af2b272e.zip halibut-6b6227d7d11f84cb9d866ff81034f105af2b272e.tar.gz halibut-6b6227d7d11f84cb9d866ff81034f105af2b272e.tar.bz2 halibut-6b6227d7d11f84cb9d866ff81034f105af2b272e.tar.xz | |
Oops, fix bracing comment stuff.
[originally from svn r4032]
Diffstat (limited to 'misc')
| -rw-r--r-- | misc/halibut.vim | 6 |
1 files 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 <jacobn+vim@chiark.greenend.org.uk> " 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 |