Language server protocol for editorconfig file.
Project description
editorconfig-lsp
This is my first LSP. Since .editorconfig has very little configuration, it was a tiny project, but I got to learn how LSP works without using a library.
It includes:
- Completion
- Hover
- Diagnostics
All standard features that an LSP provides.
Installation
You can install it using:
pip3 install editorconfig-lsp
Editor Setup
Helix
For Helix, you can add this to your languages.toml:
[language-server.editorconfig-lsp]
command = "editorconfig-lsp"
[[language]]
name = "editorconfig"
scope = "source.editorconfig"
file-types = [{glob = ".editorconfig"}]
roots = []
language-servers = ["editorconfig-lsp"]
For other editors, you'll need to configure them to use the editorconfig-lsp command.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file editorconfig_lsp-0.0.1.tar.gz.
File metadata
- Download URL: editorconfig_lsp-0.0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acd506d6c8986f7ea97440d5b30a25c7264e393621fc83baa7ca87e99e8ae3b7
|
|
| MD5 |
4ba887053d8d290b4b6a0a8d1b24d91b
|
|
| BLAKE2b-256 |
510de24f2f966bbe38b6af9cd8384af7a07a831f3a1994cb4cc97d7dd6bb50e7
|
File details
Details for the file editorconfig_lsp-0.0.1-py3-none-any.whl.
File metadata
- Download URL: editorconfig_lsp-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bf2fcfaf040d94b6319527ad72d6e2fe2b8149e916129ca7a341e5ead33e459
|
|
| MD5 |
5f7df4e14a7919fe59b4f7ff968e549d
|
|
| BLAKE2b-256 |
d41abfa97af7424a0564b2b3d3006aeefd48632ea319ba88883035ab8a106b1c
|