diff options
| author | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2004-04-01 01:12:21 +0000 |
|---|---|---|
| committer | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2004-04-01 01:12:21 +0000 |
| commit | c7cc3f7daaf26be45573f9f750780b0fa472974a (patch) | |
| tree | aac35856bffcf573a0d93675e278c363fcb7acca | |
| parent | c3498d9531f6336d1ccfc3fe4cd148ad78a7b453 (diff) | |
| download | halibut-c7cc3f7daaf26be45573f9f750780b0fa472974a.zip halibut-c7cc3f7daaf26be45573f9f750780b0fa472974a.tar.gz halibut-c7cc3f7daaf26be45573f9f750780b0fa472974a.tar.bz2 halibut-c7cc3f7daaf26be45573f9f750780b0fa472974a.tar.xz | |
Oops, appendices.
[originally from svn r4015]
| -rw-r--r-- | misc/halibut.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/halibut.vim b/misc/halibut.vim index b7aa259..984ac63 100644 --- a/misc/halibut.vim +++ b/misc/halibut.vim @@ -3,7 +3,7 @@ " Maintainer: Jacob Nevins <jacobn+vim@chiark.greenend.org.uk> " URL: FIXME " Filenames: *.but -" Version: $Id: halibut.vim,v 1.1 2004/04/01 01:02:43 jtn Exp $ +" Version: $Id: halibut.vim,v 1.2 2004/04/01 01:12:21 jtn Exp $ " I'm not proud of this. Every time I tangle with vim's syntax highlighting " I come away unsatisfied. Nevertheless, it seems to work. @@ -60,7 +60,7 @@ syn region butComment matchgroup=Comment start="\\#{" end="}" contains=butCommen syn region butCommentBrace start="{" end="}" contains=butCommentBrace,butTodo contained transparent " Section headings - a bit hairy. Order wrt rest of file is important. -syn match butCmdSpecific "\\\(S\d\|[CHSU]\)" nextgroup=butIdentArgH +syn match butCmdSpecific "\\\(S\d\|[CAHSU]\)" nextgroup=butIdentArgH " butIdentArgH -> butTextArgH? -> this, which highlights the rest of the para: syn region butTextHeading start="" end="^\s*$" contained contains=@butText " ...and overall title |