You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's the offline guy again 🙂. I have a setup where one machine is online, and it shares a filesystem mount with my offline environment. The online machine mounts the fs rw, offline machine mounts it readonly. I'm trying to stop all plugins from attempting internet access, which are causing costly poll timeouts. I bounce in and out of nvim all day long. Startup time is super critical for me.
I share the same nvim config between the two using symlinks to the shared filesystem, including ~/.local/share/nvim.
I can't disable Mason since it's intertwined with LSP config (Kickstart-based config). I tried detangling it, no luck.
{
-- Main LSP Configuration"neovim/nvim-lspconfig",
enabled=true,
dependencies= {
-- Automatically install LSPs and related tools to stdpath for Neovim-- Mason must be loaded before its dependents so we need to set it up here.-- NOTE: `opts = {}` is the same as calling `require('mason').setup({})`
{ "mason-org/mason.nvim", enabled=true, opts= { ui= { check_outdated_packages_on_open=false } } },
{ "mason-org/mason-lspconfig.nvim", enabled=true },
{ "WhoIsSethDaniel/mason-tool-installer.nvim", enabled=true },
...require("mason-tool-installer").setup({ ensure_installed=ensure_installed, auto_update=false })
The timeouts generally look like this. I don't know where 66.33.60.66 is coming from.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
It's the offline guy again 🙂. I have a setup where one machine is online, and it shares a filesystem mount with my offline environment. The online machine mounts the fs rw, offline machine mounts it readonly. I'm trying to stop all plugins from attempting internet access, which are causing costly poll timeouts. I bounce in and out of nvim all day long. Startup time is super critical for me.
I share the same nvim config between the two using symlinks to the shared filesystem, including ~/.local/share/nvim.
I have Mason configured like this for offline.
{ "mason-org/mason.nvim", enabled = true, opts = { ui = { check_outdated_packages_on_open = false } } },
When I enable Mason and do this (just a
:q<ENTER>
once in nvim):I get
I can't disable Mason since it's intertwined with LSP config (Kickstart-based config). I tried detangling it, no luck.
The timeouts generally look like this. I don't know where
66.33.60.66
is coming from.How can I stop Mason from attempting all internet access? Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions