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

local root_dir = server.get_server_root_path "clojure_lsp"

return server.Server:new {
    name = "clojure_lsp",
    root_dir = root_dir,
    installer = zx.file "./install.mjs",
    default_options = {
        cmd = { path.concat { root_dir, "clojure-lsp" } },
    },
}