Skip to content

Commit

Permalink
Add built-in group
Browse files Browse the repository at this point in the history
  • Loading branch information
tsandall committed Jun 30, 2016
1 parent 55dd562 commit 44f14e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions syntax/rego.vim
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ syn match regoRuleValue "=\w\+" nextgroup=regoIfThen skipwhite
syn match regoIfThen ":-"
syn match regoEquality "="
syn match regoInequality "[<>!]"
syn match regoBuiltin "\w\+(" nextgroup=regoBuiltinArgs contains=regoBuiltinArgs
syn region regoBuiltinArgs start="(" end=")" contained

" highlighting
hi link regoKeyword Keyword
Expand All @@ -50,5 +52,6 @@ hi link regoRuleValue Normal
hi link regoIfThen Keyword
hi link regoEquality Keyword
hi link regoInequality Keyword
hi link regoBuiltin Keyword
hi link regoComment Comment
hi link regoTodo Todo

0 comments on commit 44f14e0

Please sign in to comment.