From 2b08099b882cde25d27e1a621da55803e20776e5 Mon Sep 17 00:00:00 2001 From: Schuyler Eldridge Date: Thu, 14 Feb 2019 18:32:45 -0500 Subject: [PATCH] Add AsyncReset Signed-off-by: Schuyler Eldridge --- syntax/firrtl.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/firrtl.vim b/syntax/firrtl.vim index 7087518..394567c 100644 --- a/syntax/firrtl.vim +++ b/syntax/firrtl.vim @@ -89,7 +89,7 @@ syntax region firrtlLiteral matchgroup=Identifier start=+[US]Int<[0-9]*>(+ start "===== Types ==== syntax keyword firrtlFlip flip contained syntax match firrtlGroundType "\v[US]Int(\<[0-9]+\>)?(\[[0-9]+\])*" containedin=firrtlBundleType,firrtlDec,firrtlReg -syntax match firrtlGroundType "\v(Clock|Analog)(\[[0-9]+\])*" containedin=firrtlBundleType,firrtlDec,firrtlReg +syntax match firrtlGroundType "\v(Clock|Analog|AsyncReset)(\[[0-9]+\])*" containedin=firrtlBundleType,firrtlDec,firrtlReg syntax match firrtlVectorType "\v(\[[0-9]+\])+" contained containedin=firrtlDec,firrtlReg syntax region firrtlBundleType matchgroup=Type start=/\v\{/ end=/\v\}/ contains=firrtlBundleType,firrtlFlip,firrtlGroundType,firrtlVectorType containedin=firrtlDec,firrtlReg