Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/lang/zig.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,14 @@ mise use -g zig@latest # install latest zig
```

See available versions with `mise ls-remote zig`.

## zig Language Server

The `zig` language server ([zls](https://github.com/zigtools/zls)) needs to be installed separately.
You can install it with `mise`:

```sh
mise use -g zls@0.13

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why'd you put the version in here? this is just going to go out of date

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will remove. I added it as it needs to be on the same version as the zig version. Given that on the page, it shows mise use -g zig@0.13 I thought I would do the same for zls

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh I see, that makes sense, go ahead and change it back

```

Note that a tagged release of `Zig` should be used with the same tagged release of `ZLS`.
1 change: 1 addition & 0 deletions docs/registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,7 @@ You can also specify the full name for a tool using `mise use aqua:1password/cli
| zephyr | [asdf:nsaunders/asdf-zephyr](https://github.com/nsaunders/asdf-zephyr) |
| zig | [core:zig](https://mise.jdx.dev/lang/zig.html) |
| zigmod | [ubi:nektro/zigmod](https://github.com/nektro/zigmod) [asdf:mise-plugins/asdf-zigmod](https://github.com/mise-plugins/asdf-zigmod) |
| zls | [aqua:zigtools/zls](https://github.com/zigtools/zls) [ubi:zigtools/zls](https://github.com/zigtools/zls) |
| zola | [ubi:getzola/zola](https://github.com/getzola/zola) [asdf:salasrod/asdf-zola](https://github.com/salasrod/asdf-zola) |
| zoxide | [ubi:ajeetdsouza/zoxide](https://github.com/ajeetdsouza/zoxide) [asdf:nyrst/asdf-zoxide](https://github.com/nyrst/asdf-zoxide) |
| zprint | [asdf:carlduevel/asdf-zprint](https://github.com/carlduevel/asdf-zprint) |
2 changes: 2 additions & 0 deletions registry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,8 @@ zephyr.backends = ["asdf:nsaunders/asdf-zephyr"]
zig.backends = ["core:zig"]
zigmod.backends = ["ubi:nektro/zigmod", "asdf:mise-plugins/asdf-zigmod"]
zigmod.test = ["zigmod version", "{{version}}"]
zls.backends = ["aqua:zigtools/zls", "ubi:zigtools/zls"]
Comment thread
hverlin marked this conversation as resolved.
zls.test = ["zls --version", "{{version}}"]
zola.backends = ["ubi:getzola/zola", "asdf:salasrod/asdf-zola"]
zoxide.backends = ["ubi:ajeetdsouza/zoxide", "asdf:nyrst/asdf-zoxide"]
zprint.backends = ["asdf:carlduevel/asdf-zprint"]