Add more conditionals
This commit is contained in:
parent
42ed5af80d
commit
f4e8d827ad
1 changed files with 1 additions and 1 deletions
|
|
@ -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 nimClass "[a-zA-Z_][a-zA-Z0-9_]*" contained
|
||||||
syn match nimType "\v<[A-Z][a-zA-Z0-9_]+>"
|
syn match nimType "\v<[A-Z][a-zA-Z0-9_]+>"
|
||||||
syn keyword nimRepeat for while
|
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 keyword nimOperator and in is not or xor shl shr div
|
||||||
syn match nimComment "#.*$" contains=nimTodo,@Spell
|
syn match nimComment "#.*$" contains=nimTodo,@Spell
|
||||||
syn region nimComment start="#\[" end="\]#" contains=nimTodo,@Spell
|
syn region nimComment start="#\[" end="\]#" contains=nimTodo,@Spell
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue