diff options
| author | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2004-04-02 00:03:10 +0000 |
|---|---|---|
| committer | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2004-04-02 00:03:10 +0000 |
| commit | 14e8b89ab5a9db122aba852fa326015e7fb4ae55 (patch) | |
| tree | a09f02b17f1b91276f45b5cd006ab0378a05862f /misc/halibut.vim | |
| parent | fb74ebac57f7d14f658e4e48f982400bd6ac6f79 (diff) | |
| download | halibut-14e8b89ab5a9db122aba852fa326015e7fb4ae55.zip halibut-14e8b89ab5a9db122aba852fa326015e7fb4ae55.tar.gz halibut-14e8b89ab5a9db122aba852fa326015e7fb4ae55.tar.bz2 halibut-14e8b89ab5a9db122aba852fa326015e7fb4ae55.tar.xz | |
Limit unicode hex to 4 digits
[originally from svn r4036]
Diffstat (limited to 'misc/halibut.vim')
| -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 42f6d14..91d7e9a 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.8 2004/04/01 23:41:38 jtn Exp $ +" Version: $Id: halibut.vim,v 1.9 2004/04/02 00:03:10 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 @@ -101,7 +101,7 @@ syn match butCmdSpecific "\\I{\@=" nextgroup=butIndexArg " Xref commands syn match butCmdSpecific "\\[kK]{\@=" nextgroup=butIdentArg " Unicode literal -- a bit special. -syn match butLiteral "\\u\x*" nextgroup=butTextArg +syn match butLiteral "\\u\x\{,4}" nextgroup=butTextArg " Command cluster. syn cluster butCmd contains=butCmdGeneric,butCmdSpecific,butComment,butQuoteLit,butQLEmph,butCommentPara,butLiteral |