Skip to content

Commit

Permalink
Docs for enabling ZLS (#83)
Browse files Browse the repository at this point in the history
Temporary fix for #76
  • Loading branch information
gatesn authored Sep 12, 2023
1 parent 08368aa commit f62b81d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,26 @@ able to import your module from within `poetry shell` or `poetry run pytest`.
--8<-- "test/test_hello.py:ex"
```

## Zig Language Server

!!! warning

Currently ZLS (at least when running in VSCode) requires a small amount of manual setup.

In the root of your project, create a `zls.build.json` file containing the path to your python executable.
This can be obtained by running `poetry env info -e`.

```json title="zls.build.json"
{
"build_options": [
{
"name": "python-exe",
"value": "/path/to/your/poetry/venv/bin/python",
}
]
}
```

## Self-managed Mode

Pydust makes it easy to get started building a Zig extension for Python. But when your use-case becomes sufficiently
Expand Down

0 comments on commit f62b81d

Please sign in to comment.