aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/vuels.lua
blob: 5c0fda3c0c9f7b3263904d383090acd4732bb1ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
local util = require("lspconfig.util")

local server = require("nvim-lsp-installer.server")

local root_dir = server.get_server_root_path("vuels")

return server.Server:new {
    name = "vuels",
    root_dir = root_dir,
    install_cmd = [[npm install vls]],
    default_options = {
        cmd = { root_dir .. "/node_modules/.bin/vls", "--stdio"},
    },
}