diff options
Diffstat (limited to 'lua/nvim-lsp-installer/servers/bashls.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/servers/bashls.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lua/nvim-lsp-installer/servers/bashls.lua b/lua/nvim-lsp-installer/servers/bashls.lua new file mode 100644 index 00000000..224e8d23 --- /dev/null +++ b/lua/nvim-lsp-installer/servers/bashls.lua @@ -0,0 +1,12 @@ +local server = require('nvim-lsp-installer.server') + +local root_dir = server.get_server_root_path('bash') + +return server.Server:new { + name = "bashls", + root_dir = root_dir, + install_cmd = [[npm install bash-language-server@latest]], + default_options = { + cmd = { root_dir .. "/node_modules/.bin/bash-language-server", "start" }, + }, +} |
