hinell / lsp-timeout.nvim

Start/stop LSP servers upon demand; keeps RAM usage low
Other
195 stars 6 forks source link

Add ability to disable neovim on startup #21

Closed dylan-chong closed 2 weeks ago

dylan-chong commented 5 months ago

idea is using tmux, i want to restore many neovim sessions without triggering lsp.

could add option to disable lsp at startup until the user-has-come-back trigger triggers

dylan-chong commented 5 months ago

dude github deleted my entire description

hinell commented 5 months ago

You can use LspStop for that. It's provided by nvim-lspconfig.

dylan-chong commented 2 months ago

very curious, why does this plugin not use LspStop/LspStart?

hinell commented 2 months ago

@dylan-chong Because lsp-timeout manages both LspConfig-configured LSP clients and non-LspConfig ones.

hinell commented 2 weeks ago

If you want to disable LSP autostart upon launching a neovim instance, you can use a dedicated option for the lsp-config: