summaryrefslogtreecommitdiff
path: root/runtime/syntax/d.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-09-30 21:47:56 +0200
committerBram Moolenaar <Bram@vim.org>2010-09-30 21:47:56 +0200
commit4a74803ef837eeb4d4fc799ac9a26fc93e584111 (patch)
tree49d3d0a083a47078ae42a3b353a691e005d71ab6 /runtime/syntax/d.vim
parentc2a406b3179af3a77fb059288ead7266cdce2ac8 (diff)
downloadvim-git-4a74803ef837eeb4d4fc799ac9a26fc93e584111.tar.gz
Runtime file updates.
Diffstat (limited to 'runtime/syntax/d.vim')
-rw-r--r--runtime/syntax/d.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/syntax/d.vim b/runtime/syntax/d.vim
index e43487cd1..b7f5ebac8 100644
--- a/runtime/syntax/d.vim
+++ b/runtime/syntax/d.vim
@@ -2,8 +2,8 @@
"
" Language: D
" Maintainer: Jesse Phillips <Jesse.K.Phillips+D@gmail.com>
-" Last Change: 2010 Sep 9
-" Version: 0.21
+" Last Change: 2010 Sep 21
+" Version: 0.22
"
" Contributors:
" - Jason Mills <jasonmills@nf.sympatico.ca>: original Maintainer
@@ -117,9 +117,9 @@ syn match dSharpBang "\%^#!.*" display
syn match dAnnotation "@[_$a-zA-Z][_$a-zA-Z0-9_]*\>" contains=dAttribute
" Version Identifiers
-syn match dVersion "version\s*([_a-zA-Z][_a-zA-Z0-9]*\>"he=s+7 contains=dVersionIdentifier
-syn match dVersion "[^.]\s*\<version\>"
-syn match dVersion "^\<version\>"
+syn match dVersion "[^.]version" nextgroup=dVersionInside
+syn match dVersion "^version" nextgroup=dVersionInside
+syn match dVersionInside "([_a-zA-Z][_a-zA-Z0-9]*\>" transparent contained contains=dVersionIdentifier
" Scope StorageClass
syn match dStorageClass "scope"