2015-07-18 17:05:45 -04:00
|
|
|
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'tomdoc') == -1
|
|
|
|
|
2015-01-23 15:09:23 -05:00
|
|
|
syn keyword tomdocKeywords
|
|
|
|
\ Returns Yields Raises Examples Signature
|
|
|
|
\ containedin=.*Comment
|
|
|
|
\ contained
|
|
|
|
|
|
|
|
syn match tomdocDescriptions
|
|
|
|
\ +\s*\(Public\|Internal\|Deprecated\):+he=e-1
|
|
|
|
\ containedin=.*Comment
|
|
|
|
\ contained
|
|
|
|
|
|
|
|
syn match tomdocArguments
|
|
|
|
\ +\s*[A-Za-z0-9_\-&\*:]*\(\s*- \)+he=e-3
|
|
|
|
\ containedin=.*Comment
|
|
|
|
\ contained
|
|
|
|
|
|
|
|
hi default link tomdocDescriptions String
|
|
|
|
hi default link tomdocKeywords String
|
|
|
|
hi default link tomdocArguments HELP
|
2015-07-18 17:05:45 -04:00
|
|
|
|
|
|
|
endif
|