From 21c73731af4725338f97724c7797637c1e885657 Mon Sep 17 00:00:00 2001 From: William Boman Date: Fri, 1 Sep 2023 21:26:45 +0200 Subject: [PATCH] docs: add JULIA_LSP_JULIA_BIN section --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index eab7002..b09b40a 100644 --- a/README.md +++ b/README.md @@ -37,3 +37,12 @@ $ SYMBOL_SERVER=https://symbol-server julia-lsp "" ``` [modeline]: vim:tw=120:et:sw=4 + +## Configurating the Julia binary + +By default, the `julia` binary found in PATH will be used to run the server. You can override this by setting the +`JULIA_LSP_JULIA_BIN` environment variable, for example: + +```sh +$ JULIA_LSP_JULIA_BIN=~/julia-1.9.3/bin/julia julia-lsp "" +```