8000 GitHub - hinell/lsp-timeout.nvim at dev
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hinell/lsp-timeout.nvim

 
 

Repository files navigation

lsp-timeout.nvim

lsp-timeout-demo.mov

PayPal License

Nvim plugin for nvim-lspconfig: stop/start idle servers upon demand; keep your RAM usage low

Overview

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

⚡Features

  • Stop & start LSP servers upon demand
  • Lower RAM usage by unused Neovim system window

🔒Requirements

📦 Installation

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

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

SEE ALSO


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

About

Automatically start/stop LSP servers, keeps RAM usage low

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Contributors 2

  •  
  •  
0