summaryrefslogtreecommitdiff
path: root/misc/halibut.vim
diff options
context:
space:
mode:
authorJacob Nevins <jacobn@chiark.greenend.org.uk>2004-04-28 17:34:54 +0000
committerJacob Nevins <jacobn@chiark.greenend.org.uk>2004-04-28 17:34:54 +0000
commit706b6f074e0ff3b923edc45bd906d804a2421a46 (patch)
tree825f18db27d069be6c2da63d2e38699e89a5fdb5 /misc/halibut.vim
parentfd46ef1fc65dde112d2ffb131bb6b950eb83ad8c (diff)
downloadhalibut-706b6f074e0ff3b923edc45bd906d804a2421a46.zip
halibut-706b6f074e0ff3b923edc45bd906d804a2421a46.tar.gz
halibut-706b6f074e0ff3b923edc45bd906d804a2421a46.tar.bz2
halibut-706b6f074e0ff3b923edc45bd906d804a2421a46.tar.xz
Handle paragraph comments with no space (e.g. "\#waffle"), since these seem
to be permitted (and are used in the PuTTY manual) [originally from svn r4164]
Diffstat (limited to 'misc/halibut.vim')
-rw-r--r--misc/halibut.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/halibut.vim b/misc/halibut.vim
index 91d7e9a..bf62fe3 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.9 2004/04/02 00:03:10 jtn Exp $
+" Version: $Id: halibut.vim,v 1.10 2004/04/28 17:34:54 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
@@ -60,7 +60,7 @@ syn region butQLEmph matchgroup=butCmdSpecific start="\\e\_s\@=" matchgroup=NO
syn match butQLEmphInv "\S\@=[^bi]" contained
" Paragraph level comment -- might need to come before inline comment.
-syn region butCommentPara start="\\#\_s\@=" end="^\s*$" contains=butTodo
+syn region butCommentPara start="\\#" end="^\s*$" contains=butTodo
" Inline comments -- nested braces are honoured.
syn region butComment matchgroup=Comment start="\\#{" skip="\\}" end="}" contains=butCommentBrace,butTodo