aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/efm/init.lua
blob: ae4fd4524a7a4ee0276a2cfd043849a12489cdf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
local server = require "nvim-lsp-installer.server"
local go = require "nvim-lsp-installer.installers.go"

local root_dir = server.get_server_root_path "efm"

return server.Server:new {
    name = "efm",
    root_dir = root_dir,
    installer = go.packages { "github.com/mattn/efm-langserver" },
    default_options = {
        cmd = { go.executable(root_dir, "efm-langserver") },
    },
}