helix-editor / helix

A post-modern modal text editor.
https://helix-editor.com
Mozilla Public License 2.0
33.65k stars 2.5k forks source link

Add Esbonio support #8299

Closed pzzxqj closed 1 year ago

pzzxqj commented 1 year ago

I've tried use Esbonio with helix, but it doesn't work,

[language-server.esbonio]
command = "python3"
args = ["-m", "esbonio"]

[[language]]
name = "restructuretext"
scope = "source.rst"
file-type = ["rst"]
language-servers = [ "esbonio" ] 
indent = { tab-width = 3, unit = "   "}

Hope for official support. Thanks.

pascalkuthe commented 1 year ago

you need to provide more information than "it doesn't work". What doesn't work?

Also you should use the bug report template when reporing issues so that relevant information is shown (like a log file and the exact helix version you are using). In this case the issue seems to be that the setting is called file-types and not file-type..

The language name is also rst and not restructuretext. You don't need to set a scope since that is already provided in the default config