Just set up Roc in my helix.
![]()
the LSP isn't exactly working for me? Autocomplete, docs for word under cursor?
Is this still work under progress?
Yes the LSP is still being developed and lots of rough edges right now.
Feel free to make GH Issues if you notice anything specific and have a nice repro :smile:
wow, okay, but I love the language syntax.. also could you point me to any active discussion thread for the LS?
None super recent.. I think this was the latest
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.
Got it!.. thanks @Luke Boswell
Heres an example I guess
https://github.com/roc-lang/roc/pull/11735
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.
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.
yea i just got the hover info working.. i had to restart helix for it and change a few things..
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