Skip to content

andrew-christianson/lsp-julia

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

lsp-julia

Julia support for the =lsp-mode= package using the LanguageServer.jl package. For information on the features lsp-mode provides see their git repository.

A julia version == 0.6.x has to be in your path

This package is still under development.

Installation

Installing the Julia Language Server

Open a Julia REPL and install LanguageServer.jl.

julia> Pkg.add("LanguageServer")

Additionally because JIT compilation of LanguageServer.jl can cause a long delay which may cause issues with lsp-mode, I recommend using PackageCompiler.jl to AOT compile LanguageServer.jl into your julia image. Something like:

julia> Pkg.add("PackageCompiler")
julia> using PackageCompiler
julia> compile_package("LanguageServer")

See the documentation on PackageCompiler.jl for further usage details.

Installing lsp-julia

It’s currently easiest to install this package with quelpa. I’ll see about getting this added to melpa soon enough.

(quelpa '(lsp-julia :fetcher github :repo "non-Jedi/lsp-julia"))

Using lsp-julia with a julia major mode

After installing the major mode of your choice for editing Julia files (julia-mode, ess, etc.), add =’lsp-mode= to the hook for that major mode. For example, to use lsp-julia with ess, add the following to your .emacs file:

(add-hook 'ess-julia-mode-hook #'lsp-mode)

Please don’t hesitate to open an issue in case of problems or create a PR.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%