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
This could be mapped to a keybinding for convenience.
Automatically
Alternatively, you can use lsp-timeout.nvim plugin, to automatically shutdown and startup servers upon focus. Make sure you read the troubleshooting subsection on plugins that you use that may misbehave (e.g. null-ls or efm-language-server).