feat: Highlight modification functions

Relates #8
This commit is contained in:
Daniel Siepmann 2018-10-14 09:48:23 +02:00
parent 2492c8b003
commit a76f108159
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -66,6 +66,15 @@ syntax case match | syntax keyword tsObjectType contained containedin=tsValue TE
syntax case match | syntax keyword tsObjectType contained containedin=tsValue USER syntax case match | syntax keyword tsObjectType contained containedin=tsValue USER
syntax case match | syntax keyword tsObjectType contained containedin=tsValue USER_INT syntax case match | syntax keyword tsObjectType contained containedin=tsValue USER_INT
syntax case match | syntax keyword modificationFunction contained containedin=tsValue addToList
syntax case match | syntax keyword modificationFunction contained containedin=tsValue prependString
syntax case match | syntax keyword modificationFunction contained containedin=tsValue removeFromList
syntax case match | syntax keyword modificationFunction contained containedin=tsValue removeString
syntax case match | syntax keyword modificationFunction contained containedin=tsValue replaceString
syntax case match | syntax keyword modificationFunction contained containedin=tsValue reverseList
syntax case match | syntax keyword modificationFunction contained containedin=tsValue sortList
syntax case match | syntax keyword modificationFunction contained containedin=tsValue uniqueList
" Link groups " Link groups
highlight link tsComment Comment highlight link tsComment Comment
highlight link tsCondition Conditional highlight link tsCondition Conditional
@ -81,6 +90,7 @@ highlight link tsTag Identifier
highlight link tsTagOperator Operator highlight link tsTagOperator Operator
highlight link tsTagAttrValue String highlight link tsTagAttrValue String
highlight link tsObjectType Type highlight link tsObjectType Type
highlight link modificationFunction Type
let b:current_syntax = "typoscript" let b:current_syntax = "typoscript"