ekickx / lsm

Language Server Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Language Server Manager (LSM)

ci codecov

Motivation

Language Server is difficult to set up and is tightly coupled with each editor plugin.
neovim/nvim-lspconfig#200 (comment)

There are also lots of scripts to support different platforms and Language Servers, which is becoming difficult to maintain.
https://github.com/mattn/vim-lsp-settings/tree/master/installer

LSM aims to be a simple and cross platform installation manager for Language Server.

Notice

Windows support is still incomplete.

Language Server Destination

macOS, Linux

$HOME/.local/share/lsm/servers

If you defined $XDG_DATA_HOME

$XDG_DATA_HOME/lsm/servers

Windows

%LOCALAPPDATA%\lsm\servers

Install

go get

go get github.com/johejo/lsm

pre-built binary

# COMMING SOON

Usage

For example, when gopls is the target

install

lsm install gopls

uninstall

lsm uninstall gopls

list (Installation status of Language Servers)

lsm list

Supported Language Servers

We plan to add more Language Servers.
If you want to add a new Language Server, please create a PR.

Thanks

Language Server Manager inherits the concept of vim-lsp-settings.

About

Language Server Manager

License:MIT License


Languages

Language:Go 100.0%