Skip to content

Latest commit

 

History

History
73 lines (52 loc) · 2.02 KB

README.md

File metadata and controls

73 lines (52 loc) · 2.02 KB

zed-nim

Nim extension for Zed Editor

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. image

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 image
  • Wait for a time till it builds and you will see nim extension installed image

Screenshot

image

Inlay hints

image

Tasks

Support for current file run, nimble run, nimble build, nimble test

image

Lsp Error

image

image

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