-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Pygments issues
Li Jie edited this page Jun 29, 2015
·
10 revisions
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.
proc `[]`[T](x: int, args: varargs[T, `$`]) =
for arg in args:
echo arg
1[1, "x", 3]
The `[]`
should only be red.
proc suspend(p: Process) =
if kill(p.id, SIGSTOP) != 0'i32: raiseOsError(osLastError())
proc terminate(p: Process) =
if kill(p.id, SIGTERM) != 0'i32:
raiseOsError(osLastError())
proc kill(p: Process) =
if kill(p.id, SIGKILL) != 0'i32:
raiseOsError(osLastError())
'i32
and after should not be red.
See also https://github.com/nim-lang/Nim/blob/2297a1aa6048fcbcffca4e2c2e4ede275261e83d/lib/pure/osproc.nim
Intro
Getting Started
- Install
- Docs
- Curated Packages
- Editor Support
- Unofficial FAQ
- Nim for C programmers
- Nim for Python programmers
- Nim for TypeScript programmers
- Nim for D programmers
- Nim for Java programmers
- Nim for Haskell programmers
Developing
- Build
- Contribute
- Creating a release
- Compiler module reference
- Consts defined by the compiler
- Debugging the compiler
- GitHub Actions/Travis CI/Circle CI/Appveyor
- GitLab CI setup
- Standard library and the JavaScript backend
Misc