-
Notifications
You must be signed in to change notification settings - Fork 19
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
Julia 1.0 Support #3
Comments
👍 |
I got it working with the latest master of
(defcustom lsp-julia-default-environment "~/.julia/environments/v1.0"
"The path to the default environment."
:type 'string
:group 'lsp-julia)
(defun lsp-julia--get-root ()
(let ((dir (locate-dominating-file default-directory "Project.toml")))
(if dir (expand-file-name dir)
(expand-file-name lsp-julia-default-environment))))
(defun lsp-julia--rls-command ()
`(,lsp-julia-command
,@lsp-julia-flags
,(concat "-e using LanguageServer, Sockets, SymbolServer;"
" server = LanguageServer.LanguageServerInstance("
" stdin, stdout, false,"
" \"" (lsp-julia--get-root) "\","
" \"\", Dict());"
" server.runlinter = true;"
" run(server);"))) UPDATE: changed |
@gdkrmr what is your setup exactly, I tried this (using spacemacs devel@26.1 , julia 1.0.2) by replacing the corresponding two lines in the LSP-julia.el file with your code and pointing the quelpa recipe from the julia layer to the changed file.
) |
For debugging:
|
Thank you very much, manually installing the dependencies as #master makes it now possible to launch, without the precompiled version of LanguageServer.
I do not understand why the path to the current file gets added here and from the shell I can start EDIT: Another thing, does autocompletion work for you as intended?
|
No, sorry, I cannot help you with that.
You are right, pressing Is it working for you now? |
Yeah even with the comiled sysimage if one uses "--sysimage=" instead of "-J". What do you mean with
? |
Ah indeed, the theme I use made the Keyword invisible as long as the line is the selected one |
See MartinWolke#13
The text was updated successfully, but these errors were encountered: