diff options
Diffstat (limited to 'lua/nvim_lsp/julials.lua')
| -rw-r--r-- | lua/nvim_lsp/julials.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim_lsp/julials.lua b/lua/nvim_lsp/julials.lua index 973ae306..6c30e8bd 100644 --- a/lua/nvim_lsp/julials.lua +++ b/lua/nvim_lsp/julials.lua @@ -11,7 +11,7 @@ configs.julials = { Pkg.instantiate() using LanguageServer; using SymbolServer; depot_path = get(ENV, "JULIA_DEPOT_PATH", "") - project_path = pwd() + project_path = dirname(something(Base.current_project(pwd()), Base.load_path_expand(LOAD_PATH[2]))) # Make sure that we only load packages from this environment specifically. empty!(LOAD_PATH) push!(LOAD_PATH, "@") |
