Nim extension for Zed Editor
- Tree-Sitter Support: https://github.com/alaviss/tree-sitter-nim
- Language Server Support: https://github.com/nim-lang/langserver
Make sure to install nimlangserver before installing this extension
Nim support has been officially integrated into the Zed editor through this extension. To enable it, search for "Nim" in the Zed extensions and install it.
- Download the release source
- Extract it into a folder
- Go to the extension page in Zed and click on Install Dev Extension
- Wait for a time till it builds and you will see nim extension installed
Support for current file run, nimble run, nimble build, nimble test
- Go to definition and type definition
- Rename
- Hover
- Outline
To use nph as a formatter, add this to your settings
"languages": {
"Nim": {
"formatter": {
"external": {
"command": "nph",
"arguments": ["-"]
}
}
}
}
- Fix Project Config options
- Add runnable functionality
- Implement Debug Task
- Develop Macros
- Create code snippets