From d84c2993af4335e2bfb1873ee631cb1eea803d15 Mon Sep 17 00:00:00 2001 From: yhirose <yuji.hirose.bug@gmail.com> Date: Fri, 7 Aug 2020 10:21:57 -0400 Subject: [PATCH] Updated peg.vim --- peg.vim | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/peg.vim b/peg.vim index b133a8b..c549289 100644 --- a/peg.vim +++ b/peg.vim @@ -1,9 +1,8 @@ set commentstring=#\ %s -syn match pegBoth /=/ -syn match pegM2U /->/ -syn match pegU2M /<-/ +syn match pegAssign /<-/ +syn match pegAssign2 /←/ syn match pegName /\v[a-zA-Z_][a-zA-Z0-9_]*/ @@ -15,9 +14,8 @@ syn region pegClass start=/\v\[/ skip=/\v\\./ end=/\v]/ "syn match pegOperator /\(*\|?\|+\|!\|\.\|\~\)/ -hi def link pegBoth Statement -hi def link pegM2U Statement -hi def link pegU2M Statement +hi def link pegAssign Statement +hi def link pegAssign2 Statement hi def link pegName Identifier