Skip to content

Commit

Permalink
Highlight some built-in types from object.d(i).
Browse files Browse the repository at this point in the history
These are enabled when d_hl_object_types is defined.
  • Loading branch information
alexrp committed Dec 19, 2011
1 parent 0ac419a commit 48a296b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions d.vim
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ syn keyword dType float double real
syn keyword dType void ushort int uint long ulong float
syn keyword dType char wchar dchar string wstring dstring
syn keyword dType ireal ifloat idouble creal cfloat cdouble
if exists("d_hl_object_types")
syn keyword dType size_t ptrdiff_t sizediff_t equals_t hash_t
syn keyword dType Object Throwable AssociativeArray
endif
syn keyword dDebug deprecated unittest invariant
syn keyword dExceptions throw try catch finally
syn keyword dScopeDecl public protected private export package
Expand Down

0 comments on commit 48a296b

Please sign in to comment.