diff --git a/syntax/junos.vim b/syntax/junos.vim index 85ad35f..469cc3e 100644 --- a/syntax/junos.vim +++ b/syntax/junos.vim @@ -69,8 +69,10 @@ syn keyword junosVar low high syn match junosVar /\d\+/ syn keyword junosInterface vme -syn match junosInterface /\(xe\|ge\|vcp\|gr\)\-[0-9]\+\/[0-9]\+\/[0-9]\+\( \|\n\|\s\|\.[0-9]\+\)/ -syn match junosInterface /\(ae\|reth\|fab\|vcp\|lo\)[0-9]\+\( \|\n\|\s\|\.[0-9]\+\)/ +syn match junosInterface /\(xe\|ge\|vcp\|gr\)\-[0-9]\+\/[0-9]\+\/[0-9]\+\( +\|\n\|\s\|\.[0-9]\+\)/ +syn match junosInterface /\(ae\|reth\|fab\|vcp\|lo\)[0-9]\+\( +\|\n\|\s\|\.[0-9]\+\)/ syn match junosInterface /virtual\-chassis/ syn match junosInterface /vlan\sunit\s[0-9]\+/ @@ -92,4 +94,4 @@ hi link junosConfigure Function hi link junosDef String hi link junosIpv4 Underlined -let b:current_syntax = "junos" +let b:current_syntax = "junos-cli"