Vim syntax support for operators
This commit is contained in:
@@ -18,6 +18,7 @@ syn keyword ispcConditional cif
|
|||||||
syn keyword ispcRepeat cdo cfor cwhile
|
syn keyword ispcRepeat cdo cfor cwhile
|
||||||
syn keyword ispcBuiltin programCount programIndex
|
syn keyword ispcBuiltin programCount programIndex
|
||||||
syn keyword ispcType export uniform varying int8 int16 int32 int64
|
syn keyword ispcType export uniform varying int8 int16 int32 int64
|
||||||
|
syn keyword ispcOperator operator
|
||||||
|
|
||||||
"double precision floating point number, with dot, optional exponent
|
"double precision floating point number, with dot, optional exponent
|
||||||
syn match cFloat display contained "\d\+\.\d*d[-+]\=\d*\>"
|
syn match cFloat display contained "\d\+\.\d*d[-+]\=\d*\>"
|
||||||
@@ -33,6 +34,7 @@ HiLink ispcConditional Conditional
|
|||||||
HiLink ispcRepeat Repeat
|
HiLink ispcRepeat Repeat
|
||||||
HiLink ispcBuiltin Statement
|
HiLink ispcBuiltin Statement
|
||||||
HiLink ispcType Type
|
HiLink ispcType Type
|
||||||
|
HiLink ispcOperator Operator
|
||||||
delcommand HiLink
|
delcommand HiLink
|
||||||
|
|
||||||
let b:current_syntax = "ispc"
|
let b:current_syntax = "ispc"
|
||||||
|
|||||||
Reference in New Issue
Block a user