diff --git a/contrib/ispc.vim b/contrib/ispc.vim index 7a587651..eb084b92 100644 --- a/contrib/ispc.vim +++ b/contrib/ispc.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: ISPC " Maintainer: Andreas Wendleder -" Last Change: 2016 Mar 24 +" Last Change: 2016 May 04 " Quit when a syntax file was already loaded if exists("b:current_syntax") @@ -13,11 +13,11 @@ runtime! syntax/c.vim unlet b:current_syntax " New keywords -syn keyword ispcStatement cbreak ccontinue creturn launch print reference soa sync task +syn keyword ispcStatement cbreak ccontinue creturn launch print reference soa sync syn keyword ispcConditional cif syn keyword ispcRepeat cdo cfor cwhile foreach foreach_tiled foreach_unique foreach_active -syn keyword ispcBuiltin programCount programIndex -syn keyword ispcType export uniform varying int8 int16 int32 int64 +syn keyword ispcBuiltin programCount programIndex taskCount taskCount0 taskCount1 taskCount3 taskIndex taskIndex0 taskIndex1 taskIndex2 +syn keyword ispcType export uniform varying int8 int16 int32 int64 task new delete syn keyword ispcOperator operator "double precision floating point number, with dot, optional exponent