Stream: beginners

Topic: Roc on helix


view this post on Zulip Adityavarman Manjunath (Sep 28 2026 at 11:21):

Just set up Roc in my helix.

image.png

the LSP isn't exactly working for me? Autocomplete, docs for word under cursor?

Is this still work under progress?

view this post on Zulip Luke Boswell (Sep 28 2026 at 11:23):

Yes the LSP is still being developed and lots of rough edges right now.

view this post on Zulip Luke Boswell (Sep 28 2026 at 11:24):

Feel free to make GH Issues if you notice anything specific and have a nice repro :smile:

view this post on Zulip Adityavarman Manjunath (Sep 28 2026 at 11:24):

wow, okay, but I love the language syntax.. also could you point me to any active discussion thread for the LS?

view this post on Zulip Luke Boswell (Sep 28 2026 at 11:29):

None super recent.. I think this was the latest #contributing > LSP WIP new features rename and find-references /inlay hints @ 💬

A few different people have been chipping away at it and making PRs.

This week @notramo has made some GH Issues I think and Richard has already resolved those... so things ars moving fast.

view this post on Zulip Adityavarman Manjunath (Sep 28 2026 at 11:30):

Got it!.. thanks @Luke Boswell

view this post on Zulip Luke Boswell (Sep 28 2026 at 11:31):

Heres an example I guess

https://github.com/roc-lang/roc/pull/11735

view this post on Zulip notramo (Sep 28 2026 at 13:40):

the LSP isn't exactly working for me? Autocomplete, docs for word under cursor?

@Adityavarman Manjunath, I use Helix too, and these are working for me in the nightly-2026-09-27-a3ce7f1 version. From the screenshot, I see you are using this version also.

view this post on Zulip notramo (Sep 28 2026 at 13:44):

Richard pushed some more fixes yesterday, which should make it into today's nightly, but those are around error diagnostics. The hover info fixes are already in the latest nightly.

view this post on Zulip Adityavarman Manjunath (Sep 28 2026 at 13:48):

yea i just got the hover info working.. i had to restart helix for it and change a few things..

view this post on Zulip Adityavarman Manjunath (Sep 28 2026 at 18:56):

just got a good base setup for helix if someone is looking for it:

use-grammars = { only = ["roc"] }

[language-server.roc-lsp]
command = "roc"
args = ["experimental-lsp", "--stdio"]

[[language]]
name = "roc"
scope = "source.roc"
injection-regex = "roc"
file-types = ["roc"]
shebangs = ["roc"]
roots = []
comment-token = "#"
language-servers = ["roc-lsp"]
indent = { tab-width = 4, unit = "    " }
formatter = { command = "roc", args = ["fmt", "--stdin"] }
auto-format = true

[language.auto-pairs]
'(' = ')'
'{' = '}'
'[' = ']'
'"' = '"'

[[grammar]]
name = "roc"
source = { git = "https://github.com/faldor20/tree-sitter-roc.git", rev = "master"}

Last updated: Oct 15 2026 at 17:56 UTC