aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/bashls/init.lua
blob: fb341347de9d0aa8dc1d7f86fe74c04112f6bcbd (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 "bash"

return server.Server:new {
    name = "bashls",
    root_dir = root_dir,
    installer = npm.packages { "bash-language-server@latest" },
    default_options = {
        cmd = { npm.executable(root_dir, "bash-language-server"), "start" },
    },
}