mirror of
https://codeberg.org/qwjyh/dotfiles.git
synced 2025-06-27 03:39:20 +09:00
refactor(julials): update docs & remove unused shell scripts
This commit is contained in:
parent
ad4a9f53a1
commit
f5efb7cb66
5 changed files with 23 additions and 40 deletions
|
@ -1,27 +1,24 @@
|
|||
# How to manage Julia Language Server
|
||||
This config use sysimage built with PackageCompiler to make language server startup faster.
|
||||
Scripts in this directory is for management of sysimage.
|
||||
This config use sysimage built with PackageCompiler to make language server starts faster.
|
||||
Scripts in this directory are for management of the sysimage.
|
||||
|
||||
# description
|
||||
all related process is done in project at `~/.julia/environments/nvim-lspconfig/`.
|
||||
|
||||
## startup
|
||||
## install (or minor update of Julia)
|
||||
```sh
|
||||
$ ./setup_julials.sh
|
||||
julia ./setup_julials.jl
|
||||
```
|
||||
which executes `add_dependencies.jl` internally.
|
||||
Run Language Server with `--tracecompile` option from any editor.
|
||||
|
||||
## update
|
||||
```sh
|
||||
$ ./update_julials.sh
|
||||
julia ./update_julials.sh
|
||||
```
|
||||
which updates project, compile sysimage, then do precompile.
|
||||
To use the sysimage, run Language Server with `-J ~/.julia/environments/nvim-lspconfig/` option.
|
||||
|
||||
# effect
|
||||
Start up got about x3 - x4 faster.
|
||||
It still takes some time to load packages though.
|
||||
|
||||
# TODO
|
||||
- [ ] Not sure all necessary packages are listed in add_dependencies.jl
|
||||
- [ ] Maybe it's better to set up different sysimages for each projects
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue