-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Helix: Incorrect TOML Configuration Generated #2907
Comments
[[language]]
name = "haskell"
language-server = { command = "haskell-language-server", args = [] } and [[language]]
name = "haskell"
[language.language-server]
args = []
command = "haskell-language-server" is actually equivalent in what is interpreted by helix. Is there any issue with it? Might this: helix-editor/helix#1000 be related? Other issues/PRs regarding this issue: |
Oh, I didn't know that! But indeed Helix seem to be okay with that config. I'm not too familiar with TOML, but how does the parser know to apply the [[language]]
name = "haskell"
[language.language-server]
args = []
command = "python-lsp-server"
[[language]]
name = "python"
[language.language-server]
args = []
command = "haskell-language-server" The Python language server would be grouped with |
It's in the TOML spec: So yeah, for your example the order is relevant. |
nixpkgs' An issue should be opened against https://github.com/dbohdan/remarshal with the sample generated JSON for your languages entry: |
@Philipp-M, thank you for the information and links. |
Is there an existing issue for this?
Issue description
I am trying to override the language configuration for Helix. I want to produce the following
languages.toml
:I have the following in my
home-nix
:But it instead produces this in
languages.toml
:Maintainer CC
@Philipp-M
System information
The text was updated successfully, but these errors were encountered: