31 lines · 1.0 KB · Markdown
RawDownload

title: Nim description: "Configure Nim language support in Zed, including language servers, formatting, and debugging."

Nim

Nim language support in Zed is provided by the community-maintained Nim extension. Report issues to: https://github.com/foxoman/zed-nim/issues

Formatting

To use arnetheduck/nph as a formatter, follow the nph installation instructions.

Configure formatting in Settings ({#kb zed::OpenSettings}) under Languages > Nim, or add to your settings file:

  "languages": {
    "Nim": {
      "formatter": {
        "external": {
          "command": "nph",
          "arguments": ["-"]
        }
      }
    }
  }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t