Syntax highlighting - time/width/height built-ins

This commit is contained in:
Emmanuel BENOîT 2017-11-11 12:15:03 +01:00
parent 5933179f43
commit 3e184f5796

View file

@ -7,7 +7,7 @@ syn sync lines=100
" ------------------------------------------------------------------------------ " ------------------------------------------------------------------------------
" Clusters " Clusters
syn cluster srdListCluster contains=@srdListCluster,srdKWDefAsset,srdKWDebug,srdKWFlow,srdKWState,srdKWDraw,srdKWExpr,srdWord,srdVariable,srdSLComment,srdMLComment,srdString,srdNumeric,srdBinary syn cluster srdListCluster contains=@srdListCluster,srdBuiltin,srdKWDefAsset,srdKWDebug,srdKWFlow,srdKWState,srdKWDraw,srdKWExpr,srdWord,srdVariable,srdSLComment,srdMLComment,srdString,srdNumeric,srdBinary
syn cluster srdCommentCluster contains=@srdCommentCluster,srdTodo syn cluster srdCommentCluster contains=@srdCommentCluster,srdTodo
" ------------------------------------------------------------------------------ " ------------------------------------------------------------------------------
@ -52,6 +52,8 @@ syn keyword srdKWExpr cmp-eq cmp-ne cmp-gt cmp-ge cmp-lt cmp-le
syn keyword srdKWExpr inv neg not sin cos tan sqrt ln exp syn keyword srdKWExpr inv neg not sin cos tan sqrt ln exp
syn keyword srdKWExpr get-input syn keyword srdKWExpr get-input
syn keyword srdBuiltin time $time width $width height $height
" ------------------------------------------------------------------------------ " ------------------------------------------------------------------------------
" Variables, words and numbers " Variables, words and numbers
@ -85,6 +87,7 @@ hi def link srdTodo Todo
hi def link srdWord Identifier hi def link srdWord Identifier
hi def srdVariable ctermfg=121 cterm=italic hi def srdVariable ctermfg=121 cterm=italic
hi def srdBuiltin ctermfg=121 cterm=bold
hi def srdNumeric cterm=italic ctermfg=10 hi def srdNumeric cterm=italic ctermfg=10
hi def srdKWExpr ctermfg=39 cterm=italic hi def srdKWExpr ctermfg=39 cterm=italic