Awesome
zed-nim
Nim extension for Zed Editor
- Tree-Sitter Support: https://github.com/alaviss/tree-sitter-nim
- Language Server Support: https://github.com/nim-lang/langserver
Install
Prerequisites
Make sure to install nimlangserver before installing this extension
Editor
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.
For Dev / Manual install
- 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
Screenshot
Inlay hints
Tasks
Support for current file run, nimble run, nimble build, nimble test
Lsp Error
Other supported features:
- Go to definition and type definition
- Rename
- Hover
- Outline
Formating Configuration
To use nph as a formatter, add this to your settings
"languages": {
"Nim": {
"formatter": {
"external": {
"command": "nph",
"arguments": ["-"]
}
}
}
}
To-Do List for Project:
- Fix Project Config options
- Add runnable functionality
- Implement Debug Task
- Develop Macros
- Create code snippets