From 6394f82a229af3e8115287f8d6fa128cf8dcf2c5 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Thu, 24 Jul 2025 15:21:59 +0200 Subject: [PATCH] languages/julia: fix outdated docs --- modules/plugins/languages/julia.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/modules/plugins/languages/julia.nix b/modules/plugins/languages/julia.nix index 6db31289..c9be8d49 100644 --- a/modules/plugins/languages/julia.nix +++ b/modules/plugins/languages/julia.nix @@ -14,9 +14,9 @@ inherit (lib.nvim.attrsets) mapListToAttrs; inherit (lib.nvim.dag) entryBefore; - defaultServers = ["jdtls"]; + defaultServers = ["julials"]; servers = { - jdtls = { + julials = { enable = true; cmd = mkLuaInline @@ -95,7 +95,7 @@ in { }; lsp = { - enable = mkEnableOption "Java LSP support" // {default = config.vim.lsp.enable;}; + enable = mkEnableOption "Julia LSP support" // {default = config.vim.lsp.enable;}; servers = mkOption { type = singleOrListOf (enum (attrNames servers)); default = defaultServers; @@ -107,9 +107,11 @@ in { option, since there is no way to provide only the LSP server. If you want to avoid that, you have to change - [](#opt-vim.languages.julia.lsp.package) to use the Julia binary - in {env}`PATH` (set it to `null`), and add the `LanguageServer` package to - Julia in your devshells. + [vim.lsp.servers.julials.cmd](#opt-vim.lsp.servers._name_.cmd) to use + the Julia binary in {env}`PATH`, and add the `LanguageServer` + package to Julia in your devshells. + + Check the source file of this option for the full `cmd`. ::: ''; };