diff options
Diffstat (limited to 'runtime/syntax/sd.vim')
-rw-r--r-- | runtime/syntax/sd.vim | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/runtime/syntax/sd.vim b/runtime/syntax/sd.vim index bb201ca00..7fa0e0449 100644 --- a/runtime/syntax/sd.vim +++ b/runtime/syntax/sd.vim @@ -3,7 +3,7 @@ " License: This file can be redistribued and/or modified under the same terms " as Vim itself. " URL: http://netstudent.polito.it/vim_syntax/ -" Last Change: 2006-09-27 +" Last Change: 2012 Feb 03 by Thilo Six if version < 600 syntax clear @@ -11,6 +11,9 @@ elseif exists("b:current_syntax") finish endif +let s:cpo_save = &cpo +set cpo&vim + " Always ignore case syn case ignore @@ -24,13 +27,13 @@ syn match sdIPSpecial /\%(127\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}\)/ contained syn match sdIP contained /\%(\d\{1,4}\.\)\{3}\d\{1,4}/ contains=@sdIPCluster " Statements -syn keyword sdStatement AGGREGATE AUDIO_CHANNELS +syn keyword sdStatement AGGREGATE AUDIO_CHANNELS syn keyword sdStatement BYTE_PER_PCKT BIT_PER_SAMPLE BITRATE syn keyword sdStatement CLOCK_RATE CODING_TYPE CREATOR syn match sdStatement /^\s*CODING_TYPE\>/ nextgroup=sdCoding skipwhite syn match sdStatement /^\s*ENCODING_NAME\>/ nextgroup=sdEncoding skipwhite syn keyword sdStatement FILE_NAME FRAME_LEN FRAME_RATE FORCE_FRAME_RATE -syn keyword sdStatement LICENSE +syn keyword sdStatement LICENSE syn match sdStatement /^\s*MEDIA_SOURCE\>/ nextgroup=sdSource skipwhite syn match sdStatement /^\s*MULTICAST\>/ nextgroup=sdIP skipwhite syn keyword sdStatement PAYLOAD_TYPE PKT_LEN PRIORITY @@ -73,3 +76,6 @@ if version >= 508 || !exists("did_config_syntax_inits") endif let b:current_syntax = "sd" + +let &cpo = s:cpo_save +unlet s:cpo_save |