nim-wiki/Pygments-issues.md

13 lines
324 B
Markdown
Raw Normal View History

2013-12-05 17:48:19 +00:00
If you see any issues with the Pygments syntax highlighting for Nimrod (what github uses) please list them here so that somebody can fix them at some point.
2014-04-14 11:42:43 +00:00
## Generics + Operators
```nimrod
proc `[]`[T](x: int, args: varargs[T, `$`]) =
for arg in args:
echo arg
1[1, "x", 3]
2014-04-14 11:44:44 +00:00
```
The `` `[]` `` should only be red.