.nim Nim source code
Text & source code
| MIME type | text/x-nim |
|---|---|
| Description | Nim source code |
| Category | Text & source code |
| Based on | text/plain |
Frequently asked questions
What is a .nim file?
A .nim file is a “Nim source code” (MIME type text/x-nim).
How do I open a .nim file?
With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.
How can you tell a genuine .nim file?
No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.nim shows the guessed type.
Which format is .nim based on?
Technically a .nim file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.
Which MIME type belongs to .nim?
The MIME type is text/x-nim. In the Apache web server: AddType text/x-nim .nim; in nginx: types { text/x-nim nim; }.