local server = require("nvim-lsp-installer.server") local path = require("nvim-lsp-installer.path") 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, install_cmd = npm.packages { "bash-language-server@latest" }, default_options = { cmd = { path.concat { root_dir, "node_modules", ".bin", "bash-language-server" }, "start" }, }, }