elixir-lsp / elixir-ls

A frontend-independent IDE "smartness" server for Elixir. Implements the "Language Server Protocol" standard and provides debugger support via the "Debug Adapter Protocol"
https://elixir-lsp.github.io/elixir-ls/
Apache License 2.0
1.5k stars 196 forks source link

Add install instructions in README for Helix editor #993

Closed samusz closed 4 months ago

samusz commented 1 year ago

I believe the following instructions should be available in the README's install section.

From : https://elixirforum.com/t/helix-editor-for-elixir-development/54964

Put the following configuration in .config/helix/languages.toml, and happy coding!

[[language]]
name = "elixir"
scope = "source.elixir"
injection-regex = "elixir"
file-types = ["ex", "exs"]
roots = ["mix.exs"]
auto-format = true
diagnostic-severity = "Hint"
comment-token = "#"
indent = {tab-width = 2, unit = " "}
language-server = {command = "elixir-ls"}
lukaszsamson commented 1 year ago

Please open a PR

lukaszsamson commented 4 months ago

I'm not using helix. I'll be happy to accept a PR from someone who does though