dlm-lsp
Language Server Protocol backend for .dlm files.
Features
- Completions — base model registry keys, frontmatter fields, section fences with snippets
- Hover — base model specs (params, size, context, license), section fence info
- Diagnostics — schema validation errors, unknown base models, frontmatter structure
- Code Actions — schema migration, base model fixes
Install
pip install dlm-lsp
Usage
The dlm-lsp binary launches a Language Server over stdio:
dlm-lsp
VSCode, Neovim, Helix, and Zed can connect to it as an LSP server for .dlm files.
Development
uv sync --dev
uv run pytest tests/
uv run mypy src/dlm_lsp
uv run ruff check .
Release files for dlm-lsp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dlm_lsp-0.1.1.tar.gz | 213.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dlm_lsp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:228.1 kB
Release files / dlm_lsp-0.1.1.tar.gz
| Download URL | dlm_lsp-0.1.1.tar.gz |
|---|---|
| Size | 213.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2107fd00eab2c78e82de76eb78023a10ab30f6daf65d1f32eec23215831708e
|
|
BLAKE2b-256 checksum How to use checksums |
5a051e7a57305e9a32b6ffadc300035a57612cc6ea5ad8f017d144d6ae705801
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / dlm_lsp-0.1.1-py3-none-any.whl
| Download URL | dlm_lsp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65588ed5b4bf036f3a2b456f7cbdad19866caa8803d66eb7eddefd8ac163a293
|
|
BLAKE2b-256 checksum How to use checksums |
179663da32a14bf4f3d85c939ec7d19a45357a7acbeac6f1de79060db93d2b63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|