Skip to content

Commit

Permalink
Updates keyword list using nimrod's doc/keywords.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
gradha committed Jul 14, 2013
1 parent fa9bd59 commit 1d7ceef
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions syntax/nimrod.vim
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,23 @@ syn region nimrodBrackets contained extend keepend matchgroup=Bold start=+
syn keyword nimrodKeyword addr and as asm atomic
syn keyword nimrodKeyword bind block break
syn keyword nimrodKeyword case cast const continue converter
syn keyword nimrodKeyword discard distinct div
syn keyword nimrodKeyword elif else enum except
syn keyword nimrodKeyword finally for from generic
syn keyword nimrodKeyword if implies import in include is isnot iterator
syn keyword nimrodKeyword discard distinct div do
syn keyword nimrodKeyword elif else end enum except export
syn keyword nimrodKeyword finally for from
syn keyword nimrodKeyword generic
syn keyword nimrodKeyword if import in include interface is isnot iterator
syn keyword nimrodKeyword lambda let
syn keyword nimrodKeyword mixin mod
syn keyword nimrodKeyword nil not notin
syn keyword nimrodKeyword object of or out
syn keyword nimrodKeyword proc method macro template nextgroup=nimrodFunction skipwhite
syn keyword nimrodKeyword ptr
syn keyword nimrodKeyword raise ref return
syn keyword nimrodKeyword shl shr xom mod and
syn keyword nimrodKeyword shared shl shr static
syn keyword nimrodKeyword try tuple type
syn keyword nimrodKeyword ptr var
syn keyword nimrodKeyword var
syn keyword nimrodKeyword when while with without
syn keyword nimrodKeyword xor
syn keyword nimrodKeyword yield

syn match nimrodFunction "[a-zA-Z_][a-zA-Z0-9_]*" contained
Expand Down

0 comments on commit 1d7ceef

Please sign in to comment.