Skip to main content

Language Server Protocol backend for .dlm files

Project description

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 .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dlm_lsp-0.1.1.tar.gz (213.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dlm_lsp-0.1.1-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file dlm_lsp-0.1.1.tar.gz.

File metadata

  • Download URL: dlm_lsp-0.1.1.tar.gz
  • Upload date:
  • Size: 213.5 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for dlm_lsp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f2107fd00eab2c78e82de76eb78023a10ab30f6daf65d1f32eec23215831708e
MD5 b44f8fd299cd3a18e390755ff29fda8b
BLAKE2b-256 5a051e7a57305e9a32b6ffadc300035a57612cc6ea5ad8f017d144d6ae705801

See more details on using hashes here.

File details

Details for the file dlm_lsp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dlm_lsp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for dlm_lsp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65588ed5b4bf036f3a2b456f7cbdad19866caa8803d66eb7eddefd8ac163a293
MD5 4551a9224fffc60600aab285c5334fd4
BLAKE2b-256 179663da32a14bf4f3d85c939ec7d19a45357a7acbeac6f1de79060db93d2b63

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page