diff --git a/syntax/nim.vim b/syntax/nim.vim index b2c04ad..e9fe8a8 100644 --- a/syntax/nim.vim +++ b/syntax/nim.vim @@ -61,7 +61,7 @@ syn match nimPragma "[a-zA-Z_][a-zA-Z0-9_]*" contained syn match nimClass "[a-zA-Z_][a-zA-Z0-9_]*" contained syn match nimType "\v<[A-Z][a-zA-Z0-9_]+>" syn keyword nimRepeat for while -syn keyword nimConditional if elif else case of when +syn keyword nimConditional if elif else case of when try except return finally syn keyword nimOperator and in is not or xor shl shr div syn match nimComment "#.*$" contains=nimTodo,@Spell syn region nimComment start="#\[" end="\]#" contains=nimTodo,@Spell