Metadata-Version: 2.4
Name: editorconfig-lsp
Version: 0.0.1
Summary: Language server protocol for editorconfig file.
Author-email: Justin Lee <justinlsoftware@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# 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:
```bash
pip3 install editorconfig-lsp
```

## Editor Setup

### Helix
For Helix, you can add this to your `languages.toml`:

```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.
