Skip to content

LanguageServer.jl LSP support #291

@ljmc-github

Description

@ljmc-github

The LSP server for Julia is integrated in several vim LSP clients:

Would it be possible to have Julia support directly ?

Based on the first two I tried to implement it, but neither seems to work, with LanguageServer.jl installed both in the local project environment and the general environment...

  • from official doc:
let g:completor_filetype_map = { 'julia': {'ft': 'lsp', 'cmd': '/path/to/bin/julia --startup-file=no --history-file=no -e "using LanguageServer, Pkg; run(LanguageServerInstance(stdin, stdout, false, dirname(Pkg.Types.Context().env.project_file)))"'} }
  • from ALE:
let g:completor_filetype_map = { 'julia': {'ft': 'lsp', 'cmd': '/path/to/bin/julia --startup-file=no --history-file=no -e "using LanguageServer; server = LanguageServer.LanguageServerInstance(isdefined(Base, :stdin) ? stdin : STDIN, isdefined(Base, :stdout) ? stdout : STDOUT, false); server.runlinter = true; run(server);"'} }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions