Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LanguageServer.jl LSP support #291

Open
ljmc-github opened this issue May 20, 2020 · 0 comments
Open

LanguageServer.jl LSP support #291

ljmc-github opened this issue May 20, 2020 · 0 comments

Comments

@ljmc-github
Copy link

ljmc-github commented May 20, 2020

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);"'} }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant