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

local root_dir = server.get_server_root_path "rome"

return server.Server:new {
    name = "rome",
    root_dir = root_dir,
    installer = npm.packages { "rome@10.0.7-nightly.2021.7.2" }, -- https://github.com/rome/tools/pull/1409
    default_options = {
        cmd = { npm.executable(root_dir, "rome"), "lsp" },
    },
}