Julials with NeoVim not picking up global environment

GiovanniKarra
Sat, 14 Feb 2026 20:39:43 +0000
Tooling

Hello
I’m using julials with lsp-config in neovim, and I kept the default config.
When developing a project that has a Project.toml, it works perfectly well, but when I’m editing scripts that rely on my global environment, it not only doesn’t offer completion for imported symbols, but it also doesn’t give any diagnostics, but it keeps offering completion for built-in and my own symbols.
I did pay attention to instantiate the package everytime, but to no avail.
Does anyone also have this problem?
Here’s my LspLog

[ERROR][2026-02-14 21:37:10] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (0%)\n"
[ERROR][2026-02-14 21:37:10] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (2%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (3%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (5%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (6%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (8%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (9%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (11%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (12%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (14%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (15%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (17%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (18%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (20%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (21%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (23%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (24%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (26%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (27%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (29%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (30%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (32%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (33%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (35%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (36%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (38%)\n[ Info: Downloading cache files... (39%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (41%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (42%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (44%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (45%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (47%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (48%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (50%)\n[ Info: Downloading cache files... (52%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (53%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (55%)\n[ Info: Downloading cache files... (56%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (58%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (59%)\n[ Info: Downloading cache files... (61%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (62%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (64%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (65%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (67%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (68%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (70%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (71%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (73%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (74%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (76%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (77%)\n[ Info: Downloading cache files... (79%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (80%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (82%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (83%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (85%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (86%)\n"
[ERROR][2026-02-14 21:37:13] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (88%)\n"
[ERROR][2026-02-14 21:37:14] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (89%)\n"
[ERROR][2026-02-14 21:37:14] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (91%)\n"
[ERROR][2026-02-14 21:37:14] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (92%)\n"
[ERROR][2026-02-14 21:37:14] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (94%)\n"
[ERROR][2026-02-14 21:37:14] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (95%)\n"
[ERROR][2026-02-14 21:37:14] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (97%)\n"
[ERROR][2026-02-14 21:37:14] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Downloading cache files... (98%)\n[ Info: All cache files downloaded (took 3.6s). (100%)\n"
[ERROR][2026-02-14 21:37:17] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Package CSV (336ed68f-0bac-5ca0-87d4-7b16caf5d00b) is cached.\n"
[ERROR][2026-02-14 21:37:17] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Will cache package PolyJuMP (ddf597a6-d67e-5340-b84c-e37d84115374)\n"
[ERROR][2026-02-14 21:37:17] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Will cache package StatsPlots (f3b207a7-027a-5e70-b257-86293d7955fd)\n[ Info: Package JuMP (4076af6c-e467-56ae-b986-b466b2749572) is cached.\n[ Info: Package Serialization (9e88b42a-f829-5b0c-bbe9-9e923198166b) is cached.\n"
[ERROR][2026-02-14 21:37:17] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Will cache package MultivariatePolynomials (102ac46a-7ee4-5c85-9060-abc95bfdeaa3)\n"
[ERROR][2026-02-14 21:37:17] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Will cache package Ipopt (b6b21f68-93f8-5de0-b562-5493be1d77c9)\n"
[ERROR][2026-02-14 21:37:18] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Outdated sha, will recache package CUTE (22d48476-2aa4-4386-b0d3-c246ace34972)\n"
[ERROR][2026-02-14 21:37:18] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Will cache package DynamicPolynomials (7c1d4256-1411-5781-91ec-d7bc3513ac07)\n"
[ERROR][2026-02-14 21:37:18] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Will cache package Plots (91a5bcdd-55d7-5caf-9e0b-520d859cae80)\n"
[ERROR][2026-02-14 21:37:18] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Will cache package PyPlot (d330b81b-6aea-500a-939a-2ce795aea3ee)\n"
[ERROR][2026-02-14 21:37:18] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Will cache package ProfileView (c46f51b8-102a-5cf2-8d2c-8597cb0e0da7)\n"
[ERROR][2026-02-14 21:37:18] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Package CPUTime (a9c8d775-2e2e-55fc-8582-045d282d599e) is cached.\n"
[ERROR][2026-02-14 21:37:18] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Package DataFrames (a93c6f00-e57d-5684-b7b6-d8193f3e46c0) is cached.\n"
[ERROR][2026-02-14 21:37:18] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Will cache package Gurobi (2e9cd046-0924-5485-92f1-d5272153d98b)\n"
[ERROR][2026-02-14 21:37:18] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Package MathOptInterface (b8f27783-ece8-5eb3-8dc8-9495eed66fee) is cached.\n"
[ERROR][2026-02-14 21:37:18] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Package Printf (de0858da-6303-5e67-8744-51eddeeeb8d7) is cached.\n"
[ERROR][2026-02-14 21:37:19] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Indexing PolyJuMP... (0%)\n"
[ERROR][2026-02-14 21:37:20] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"WARNING: Detected access to binding `LoadingBay.PolyJuMP` in a world prior to its definition world.\n  Julia 1.12 has introduced more strict world age semantics for global bindings.\n  !!! This code may malfunction under Revise.\n  !!! This code will error in future versions of Julia.\nHint: Add an appropriate `invokelatest` around the access to this binding.\nTo make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`.\n"
[ERROR][2026-02-14 21:37:20] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Indexing StatsPlots... (10%)\n"
[ERROR][2026-02-14 21:37:22] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"WARNING: Detected access to binding `LoadingBay.StatsPlots` in a world prior to its definition world.\n  Julia 1.12 has introduced more strict world age semantics for global bindings.\n  !!! This code may malfunction under Revise.\n  !!! This code will error in future versions of Julia.\nHint: Add an appropriate `invokelatest` around the access to this binding.\nTo make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`.\n"
[ERROR][2026-02-14 21:37:22] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"[ Info: Processing MultivariatePolynomials... (20%)\n"
[ERROR][2026-02-14 21:37:22] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"ERROR: "
[ERROR][2026-02-14 21:37:22] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"LoadError: "
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"UndefVarError: `MultivariatePolynomials` not defined in `Main.SymbolServer.LoadingBay`"
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"\nThe binding may be too new: running in world age 39199, while current world is 39427."
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"\nHint: MultivariatePolynomials is loaded but not imported in the active module Main."
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"\nHint: a global variable of this name also exists in MultivariatePolynomials.\n    - Also exported by DynamicPolynomials (loaded but not imported in Main)."
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"\nStacktrace:\n [1] "
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"load_package(c::Pkg.Types.Context, uuid::Base.UUID, conn::Base.PipeEndpoint, loadingbay::Module, percentage::Int64)\n   @"
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	" Main.SymbolServer"
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	" ~/.julia/packages/SymbolServer/2jiVV/src/"
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"utils.jl:631\n [2] top-level scope\n"
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"   @ ~/.julia/packages/SymbolServer/2jiVV/src/"
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"server.jl:100\n [3] "
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"include(mod::Module, _path::String)\n   @"
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	" Base ./"
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"Base.jl:306\n [4]"
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	" "
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"exec_options(opts::Base.JLOptions)\n   @"
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	" Base ./"
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"client.jl:317\n [5] "
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"_start()\n   @ Base ./"
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"client.jl:550"
[ERROR][2026-02-14 21:37:24] ...p/_transport.lua:36	"rpc"	"julia"	"stderr"	"\nin expression starting at /home/giogio/.julia/packages/SymbolServer/2jiVV/src/server.jl:1\n"

8 posts - 2 participants