Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
sd.vim72 linesDownload Raw Back to syntax
1" Language: streaming descriptor file2" Maintainer: Puria Nafisi Azizi (pna) <pna@netstudent.polito.it>3" License: This file can be redistribued and/or modified under the same terms4"   as Vim itself.5" URL: http://netstudent.polito.it/vim_syntax/6" Last Change: 2012 Feb 03 by Thilo Six7 8" quit when a syntax file was already loaded9if exists("b:current_syntax")10        finish11endif12 13let s:cpo_save = &cpo14set cpo&vim15 16" Always ignore case17syn case ignore18 19" Comments20syn match sdComment /\s*[#;].*$/21 22" IP Adresses23syn cluster sdIPCluster contains=sdIPError,sdIPSpecial24syn match sdIPError /\%(\d\{4,}\|25[6-9]\|2[6-9]\d\|[3-9]\d\{2}\)[\.0-9]*/ contained25syn match sdIPSpecial /\%(127\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}\)/ contained26syn match sdIP contained /\%(\d\{1,4}\.\)\{3}\d\{1,4}/ contains=@sdIPCluster27 28" Statements29syn keyword sdStatement AGGREGATE AUDIO_CHANNELS30syn keyword sdStatement BYTE_PER_PCKT BIT_PER_SAMPLE BITRATE31syn keyword sdStatement CLOCK_RATE CODING_TYPE CREATOR32syn match sdStatement /^\s*CODING_TYPE\>/ nextgroup=sdCoding skipwhite33syn match sdStatement /^\s*ENCODING_NAME\>/ nextgroup=sdEncoding skipwhite34syn keyword sdStatement FILE_NAME FRAME_LEN FRAME_RATE FORCE_FRAME_RATE35syn keyword sdStatement LICENSE36syn match sdStatement /^\s*MEDIA_SOURCE\>/ nextgroup=sdSource skipwhite37syn match sdStatement /^\s*MULTICAST\>/ nextgroup=sdIP skipwhite38syn keyword sdStatement PAYLOAD_TYPE PKT_LEN PRIORITY39syn keyword sdStatement SAMPLE_RATE40syn keyword sdStatement TITLE TWIN41syn keyword sdStatement VERIFY42 43" Known Options44syn keyword sdEncoding H26L MPV MP2T MP4V-ES45syn keyword sdCoding FRAME SAMPLE46syn keyword sdSource STORED LIVE47 48"Specials49syn keyword sdSpecial TRUE FALSE NULL50syn keyword sdDelimiter STREAM STREAM_END51syn match sdError /^search .\{257,}/52 53 54hi def link sdIP Number55hi def link sdHostname Type56hi def link sdEncoding Identifier57hi def link sdCoding Identifier58hi def link sdSource Identifier59hi def link sdComment Comment60hi def link sdIPError Error61hi def link sdError Error62hi def link sdStatement Statement63hi def link sdIPSpecial Special64hi def link sdSpecial Special65hi def link sdDelimiter Delimiter66 67 68let b:current_syntax = "sd"69 70let &cpo = s:cpo_save71unlet s:cpo_save72 
codekingpro/portable-devtools · Team Ai