Helix + LanguageServer cache

@jakobjpeters Actually, I’m not sure if my suspicions related to @kousu’s background are correct. However, I’m inclined to believe that, based on what I’ve read on this discussion list, he has significantly more coding experience than I do. Anyway, if I can be of any further help, please let me know. Please note that I might reply with a slight delay, as I’m not actively monitoring this list.

@kousu Any chance you tried JETLS.jl as described here: Neovim lsp in julia 1.12 - #2 by rkube ? I imagine it should work with the following configuration, although I haven’t tested it myself, as it likely requires a nightly Julia version.

cat languages.toml.jetls

# JETLS.jl [not tested - probably requires Julia > 1.12.1]
# [Install: julia --project=@jetls -e 'using Pkg; Pkg.add(url="https://github.com/aviatesk/JETLS.jl")']

[[language]]
name = "julia"
language-servers = ["jetls"]
scope = "source.julia"
injection-regex = "julia"
file-types = ["jl"]
roots = ["Project.toml", "Manifest.toml", "JuliaProject.toml"]
comment-token = "#"
indent = { tab-width = 4, unit = "    " }

[language-server.jetls]
command = "julia"
args = [
  "--project=@jetls",
  "-e",
  "using JETLS; import JETLS.LanguageServer as LS; runserver()",
]

# Runic.jl [Install: julia --project=@runic --startup-file=no -e 'using Pkg; Pkg.add("Runic")']
auto-format = false
formatter = { command = "julia" , args = ["--project=@runic", "--startup-file=no", "-e", "using Runic; exit(Runic.main(ARGS))"] }