Comment by the_unproven
7 hours ago
Yeah the LSP support is next, my goal is to implement the language server in the fuse itself. At the moment there’s a simple formatter implementation fusefmt: https://github.com/fuselang/fuse/blob/master/examples/fusefm..., you can compile it with fuse and hook-it with your editor.
For example I’ve this config in helix:
[[language]]
name = "fuse"
scope = "source.fuse"
file-types = ["fuse"]
injection-regex = "fuse"
comment-token = "#"
indent = { tab-width = 2, unit = " " }
auto-format = true
formatter = { command = "fusefmt" }
[[grammar]]
name = "fuse"
source = { git = "https://github.com/stevanmilic/tree-sitter-fuse", rev = "eb5698f4867a4192064e54a92be280f4d2130e03" }
No comments yet
Contribute on Hacker News ↗