mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-06-26 06:14:39 +00:00
lsp/presets: add option to use PATH julia instead of bundling
also changes docs under languages/julia
This commit is contained in:
parent
4d990efc21
commit
cdbb2bdeb0
2 changed files with 18 additions and 6 deletions
|
|
@ -51,12 +51,15 @@ in {
|
|||
The entirety of Julia is bundled with nvf, if you enable this
|
||||
option, since there is no way to provide only the LSP server.
|
||||
|
||||
If you want to avoid that, you have to change
|
||||
{option}`vim.lsp.servers.julials.cmd` to use
|
||||
the Julia binary in {env}`PATH`, and add the `LanguageServer`
|
||||
package to Julia in your devshells.
|
||||
Since the LSP server is a julia package that needs to be bundled
|
||||
within a Julia binary, there is no way for us to provide only the
|
||||
LSP server. By default, you'll just have to add the `LanguageServer`
|
||||
package to Julia in your devshells (or general environment), and be
|
||||
good to go.
|
||||
|
||||
Check the source file of this option for the full `cmd`.
|
||||
If you want to have the entirety of Julia bundled within nvf, you can
|
||||
change {option}`vim.lsp.servers.presets.julia-languageserver.usePathBin`
|
||||
to `false` to have nvf bundle julia and the lsp.
|
||||
:::
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue