Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Add Helix installation instructions#376

Merged
scohen merged 3 commits into
lexical-lsp:mainfrom
philipgiuliani:main
Sep 19, 2023
Merged

Add Helix installation instructions#376
scohen merged 3 commits into
lexical-lsp:mainfrom
philipgiuliani:main

Conversation

@philipgiuliani

@philipgiuliani philipgiuliani commented Sep 18, 2023

Copy link
Copy Markdown
Contributor

Adds the helix installation instructions. I am using it myself in Helix and it works like a charm.

Closes #228

Comment thread pages/installation.md Outdated
@scottming

scottming commented Sep 18, 2023

Copy link
Copy Markdown
Collaborator

Hi, @philipgiuliani I tried this on my mac, it won't works.

Bad language config: unknown field `language-servers`, expected one of `name`, `scope`, `file-types`, `shebangs`, `roots`, `comment-token`, `text-width`, `soft-wrap`, `config`, `auto-format`, `formatter`, `diagnostic-severity`, `grammar`, `injection-regex`, `language-server`, `indent`, `debugger`, `auto-pairs`, `rulers`, `workspace-lsp-roots`
in `language`

Press <ENTER> to continue with default language config

and tried

[language-server.lexical]
command = "/Users/scottming/Code/lexical/_build/dev/package/lexical"

[[language]]
name = "elixir"
language-server = ["lexical"]

[[language]]
name = "heex"
language-server = ["lexical"]
``` too

@philipgiuliani

philipgiuliani commented Sep 18, 2023

Copy link
Copy Markdown
Contributor Author

Oh sorry, the last Version of Helix has been released on May. I am using the next version, which will be released within September: helix-editor/helix#8086

Unfortunately, there was a breaking change with the last Helix release. Should I document both configurations here, or maybe we should just extend the information that it only works above Helix 23.09?

From the Changelog:

Breaking changes:

  • Support multiple language servers per language (#2507)
    • This is a breaking change to language configuration

@scottming

Copy link
Copy Markdown
Collaborator

extend the information that it only works above Helix 23.09?

I think adding this is enough.

@scottming

Copy link
Copy Markdown
Collaborator

Ok, I tried the main branch, and this config works, thanks.

image

@scohen scohen merged commit ee76a0e into lexical-lsp:main Sep 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve installation docs

3 participants