Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion syntax/firrtl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down