Home

Awesome

<!----> <div align="center"> <h1 align="center">lsp-timeout.nvim<img width="32" src="https://neovim.io/logos/neovim-mark-flat.png" align="right" /></h1> </div> <!-- <img width="100%" src="doc/preview.png" /> -->

https://github.com/hinell/lsp-timeout.nvim/assets/8136158/92e30089-192f-4c75-8bec-85ca36a2c06c

<!-- Use badges from https://shields.io/badges/ -->

PayPal License

Nvim plugin for nvim-lspconfig: stop idle servers & restart upon focus; keep your RAM usage low

Overview

Some LSP servers are terribly inefficient at memory management and can easily take up gigabytes of RAM MBs if left unattended (just like VS Code huh?!). This plugin prevents excessive memory usage by stopping and restarting LSP servers automatically upon gaining or loosing window focus, keeping neovim fast.

⚡Features

🔒Requirements

📦 Installation

lazy.vim

require("lazy").setup(
    {
	"hinell/lsp-timeout.nvim",
	dependencies={ "neovim/nvim-lspconfig" }
    }
)

packer.nvim

-- $HOME/.config/nvim/lua/user/init.lua
packer.setup(function(use)
    use({
        "hinell/lsp-timeout.nvim",
        requires={ "neovim/nvim-lspconfig" }
    })
end)

vim-plug

Plug "hinell/lsp-timeout.nvim"
<!-- ## 🚀 Usage -->

DOCUMENTATION

CONTRIBUTING

DEVELOPMENT

SUPPORT DISCLAIMER

NO GUARANTEES UNTIL PAID. This project is supported and provided AS IS. See also LICENSE.


September 26, 2023</br> Copyright © - Alexander Davronov (a.k.a Hinell), et.al.</br>