Add more conditionals

This commit is contained in:
Joey Yakimowich-Payne 2021-07-15 11:00:12 -06:00
commit f4e8d827ad

View file

@ -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