Match nim type on single chars as well
This commit is contained in:
parent
59ef315245
commit
d603c6166b
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ syn keyword nimKeyword lent sink iterable owned auto any
|
|||
syn match nimFunction "[a-zA-Z_][a-zA-Z0-9_]*" contained
|
||||
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 match nimType "\v<[A-Z][a-zA-Z0-9_]*>"
|
||||
syn keyword nimRepeat for while
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue