Closed mitjafelicijan closed 1 week ago
It looks like you need ols.json
in your project. Helix doesn't make a project workspace without it. That apparently causes the server to crash.
That worked like a charm. Thank you.
LSP formatting works. Also works if there are errors in the code. I also get snippet recommendations. But I am not getting autocomplete suggestion when I type let's say fmt.
.
Am I still missing something?
This is my ols.json
I have in the project.
{
"collections": [
{
"name": "core",
"path": "~/Applications/odin/core"
},
{
"name": "vendor",
"path": "~/Applications/odin/vendor"
}
],
"thread_pool_count": 4,
"enable_semantic_tokens": false,
"enable_document_symbols": true,
"enable_hover": true,
"enable_format": true,
"enable_snippets": true,
"formatter": {
"tabs": false,
"characters": 90
}
}
There seems to be a bug in ~
. Try with absolute path. You can potentially also remove the collections, if the odin
is in path, it should be able to find them without collections.
I have installed
ols
and when I start editing a file (which compiles and works properly) the server crashes and I get a notification in the editorLanguage server exited
.Below are the logs from Helix editor.
I am using Fedora 39.
Is there anything else I paste here?
Thanks