1# Nim
2
3Nim language support in Zed is provided by the community-maintained [Nim extension](https://github.com/foxoman/zed-nim).
4Report issues to: [https://github.com/foxoman/zed-nim/issues](https://github.com/foxoman/zed-nim/issues)
5
6- Tree-sitter: [alaviss/tree-sitter-nim](https://github.com/alaviss/tree-sitter-nim)
7- Language Server: [nim-lang/langserver](https://github.com/nim-lang/langserver)
8
9## Formatting
10
11To use [arnetheduck/nph](https://github.com/arnetheduck/nph) as a formatter, follow the [nph installation instructions](https://github.com/arnetheduck/nph?tab=readme-ov-file#installation) and add this to your Zed `settings.json`:
12
13```json
14 "languages": {
15 "Nim": {
16 "formatter": {
17 "external": {
18 "command": "nph",
19 "arguments": ["-"]
20 }
21 }
22 }
23 }
24```