update(jetls): enable debug & use beta (1.12) for JETLS

This commit is contained in:
qwjyh 2025-06-18 15:20:02 +09:00
parent 25512b052b
commit c8e3606247
2 changed files with 2 additions and 0 deletions

View file

@ -669,6 +669,7 @@ lspconfig.julials.setup {
Base.load_path_expand("@v#.#"),
))
end
ENV["JULIA_DEBUG"] = "LanguageServer"
@info "Running language server" VERSION pwd() project_path depot_path
server = LanguageServer.LanguageServerInstance(stdin, stdout, project_path, depot_path)
server.runlinter = true

View file

@ -7,6 +7,7 @@ configs.jetls = {
default_config = {
cmd = {
'julia',
'+beta',
'--project=' .. vim.env.HOME .. '/work/julia/JETLS.jl',
'--startup-file=no',
'--history-file=no',