Commit graph

5 commits

Author SHA1 Message Date
“mk0417”
3a09dc0d9e fix README 2021-03-13 20:11:58 +00:00
Han
ba0f791b05
lang/julia: improve lsp support (#4012)
* lang/julia: include lsp-julia w/o language server

Use nonrecursive clone to get lsp-julia without bundled
LanguageServer.jl (plus dependencies) and include instructions in the
README on how to install the language server (bundled or otherwise).

* lang/julia: add checks for julia +lsp in doctor

Add two checks, both only for when the +lsp feature is enabled:
- Check if (:tools lsp) is selected
- Check if LanguageServer.jl is installed

* lang/julia: indicate SymbolServer.jl as dependency

It is itself a dependency of LanguageServer.jl, but it's necessary to
add it separately in order to do `using SymbolServer`.

* tools/lsp: add julia language server to list

* lang/julia: add eglot support using eglot-jl

Forcing eglot-jl to not install its own LanguageServer.jl is a bit of a
hack though.

* lang/julia: make timeout increase buffer-local

Suggestion by @benneti to use `setq-local` instead of `setq` to prevent
a timeout increase in non-Julia eglot buffers.

* Fix issues

Co-authored-by: Henrik Lissner <henrik@lissner.net>
2021-03-01 22:25:35 -05:00
AlexLewandowski
d6fe5dad65 Update Julia README.org 2020-04-08 15:01:25 -06:00
AlexLewandowski
9568023b83 Remove default installation of lsp-julia 2020-04-08 14:52:45 -06:00
AlexLewandowski
b2368527d3 Julia:added LSP and repl buffername uses workspace 2020-04-08 14:34:04 -06:00