From 8c0c5550a0818def98868f82021fa736c720cb0b Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 28 Apr 2022 13:22:20 +0200 Subject: [PATCH] rename syntax --- syntax/junos.vim | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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"