TarunDaCoder / nvim-lspmanager

Lsp manager for neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nvim-lspmanager

Nvim-lspmanager is a powerful and extensible manager for LSPs (Language Server Protocols). Using pre-made configurations from nvim-lspconfig, you can be sure that your lsp will work without having to write a single line of code.

🌟 Features

  • 3 simple commands missing from native neovim Lsp integration (LspInstall, LspUninstall, LspUpdate)
  • Lots of supported language servers
  • Uses nvim-lspconfig to require configurations for each lsp
  • No need to reload neovim after installing a lsp
  • Fully supports windows

πŸ”§ Installation

Make sure to use Neovim version 0.5.x or higher.

Dependencies

Make sure you have the following packages installed:

  • jq

  • curl

  • npm

  • gzip

  • unzip

  • pip

  • Packer

use {
    'MordechaiHadad/nvim-lspmanager',
    requires = {'neovim/nvim-lspconfig'},
    config = function()
        require('lspmanager').setup()
    end,
}

Resource the current file, and run :PackerInstall to install the plugin.

Plug 'MordechaiHadad/nvim-lspmanager' | Plug 'neovim/nvim-lspconfig'

Resource the current file, and run :PlugInstall to install the plugin.

Now you can place this base configuration in your init.vim file:

lua << EOF
    require('lspmanager').setup()
EOF

Usage

  • :LspInstall ...: Installs a supported language server
  • :LspUninstall ...: Uninstall an installed language server
  • :LspUpdate ...: Update an installed language server. (:LspUpdate all will update all installed ones)

Telescope picker

nvim-lspmanager integrates telescope.nvim to install, uninstall and update language servers.

  • :Telescope lspmanager Is used for selecting either one of these options: lsp_install, lsp_uninstall, lsp_update

Supported language servers

Language Language server
βœ… Angular angularls
βœ… Bash bashls
βœ… C/C++ clangd
βœ… CMake cmake
βœ… CSS cssls
βœ… Docker dockerls
βœ… Elixir elixirls
βœ… Emmet emmet_ls
βœ… FSharp fsautocomplete
βœ… Haskell hls
βœ… HTML html
βœ… JSON jsonls
βœ… Kotlin kotlinls
βœ… CSharp omnisharp
βœ… Python pyright
βœ… Rust rust_analyser
βœ… Lua sumneko_lua
βœ… Svelte sveltels
βœ… Tailwindcss tailwindcssls
βœ… Terraform terraformls
βœ… Javascript/Typescript tsserver
βœ… VimL vimls
βœ… Vuejs vuels

Credits

  • Big thanks to lspinstall for helping me save time for some scripts

About

Lsp manager for neovim

License:MIT License


Languages

Language:Lua 96.8%Language:Vim Script 3.2%