Skip to main content

A library to create language servers.

Project description

lsp-tree-sitter

pre-commit.ci status github/workflow

github/downloads github/downloads/latest github/issues github/issues-closed github/issues-pr github/issues-pr-closed github/discussions github/milestones github/forks github/stars github/watchers github/contributors github/commit-activity github/last-commit github/release-date

github/license github/languages github/languages/top github/directory-file-count github/code-size github/repo-size github/v

aur/votes aur/popularity aur/maintainer aur/last-modified aur/version

pypi/status pypi/v pypi/downloads pypi/format pypi/implementation pypi/pyversions

A library to create language servers.

Features

graph LR
  code(source code) --> |tree-sitter| AST --> |jq| json1[JSON with node text]
  ---> |JSON schema| path[error node JSON path] --> range[error node range]
  AST --> |jq| json2[JSON with node range] --> range --> |LSP| diagnostic(diagnostic)
graph LR
  cursor[/cursor position/] --> node ---> |jq| information --> |LSP| result(completion/hover)
  code(source code) --> |tree-sitter| AST --> node[cursor node]

Examples

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

lsp_tree_sitter-0.2.10.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

lsp_tree_sitter-0.2.10-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file lsp_tree_sitter-0.2.10.tar.gz.

File metadata

  • Download URL: lsp_tree_sitter-0.2.10.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for lsp_tree_sitter-0.2.10.tar.gz
Algorithm Hash digest
SHA256 e990d8492110223fce4e4d29d07200e6dce7ffd31107b0994d7ba276b7ecdacf
MD5 ea09d3bd3f0f51b6d1e5a9251182676a
BLAKE2b-256 e150368e5d2dd38a6b01a47023465b31cfa4d98ed57c404f2d9fee88bf385f94

See more details on using hashes here.

Provenance

The following attestation bundles were made for lsp_tree_sitter-0.2.10.tar.gz:

Publisher: main.yml on neomutt/lsp-tree-sitter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lsp_tree_sitter-0.2.10-py3-none-any.whl.

File metadata

File hashes

Hashes for lsp_tree_sitter-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 5515a2238a1be2ebc82f84e7a57bbe55f087c635f65d349a4a07e2a928759fcd
MD5 dda2cf1c4abf614008f0c4efa6973bc6
BLAKE2b-256 83bf97db07dc09d153594526f1bb504a280e1dc58f8765423f2983ad49ceb6d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for lsp_tree_sitter-0.2.10-py3-none-any.whl:

Publisher: main.yml on neomutt/lsp-tree-sitter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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