Skip to content
Discussion options

You must be logged in to vote

language-servers = ["cslsp"] only references a server name; it does not define the command that Helix should start. Add a language-server definition alongside your language declaration:

[language-server.cslsp]
command = "cslsp"
# args = ["..."]  # only if your server needs arguments

[[language]]
name = "csound"
scope = "source.csound"
file-types = ["csd", "sco", "orc"]
language-servers = ["cslsp"]

You can put this in the project .helix/languages.toml or your user languages.toml. Helix resolves command using the environment of the Helix process, so which cslsp must succeed in the same nix develop/nix-shell environment from which you launch Helix. If you start Helix from the desktop, it ma…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@wavesinaroom
Comment options

@farfromexact
Comment options

Answer selected by wavesinaroom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants