diff options
| author | William Boman <william@redwill.se> | 2022-03-16 00:57:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-16 00:57:53 +0100 |
| commit | cf061b0eae7948e516f88c6ba274bebc571b140e (patch) | |
| tree | 4db26d09bd1695ccbde0da4a8f2679a36203e8b1 /lua/nvim-lsp-installer | |
| parent | run autogen_metadata.lua (diff) | |
| download | mason-cf061b0eae7948e516f88c6ba274bebc571b140e.tar mason-cf061b0eae7948e516f88c6ba274bebc571b140e.tar.gz mason-cf061b0eae7948e516f88c6ba274bebc571b140e.tar.bz2 mason-cf061b0eae7948e516f88c6ba274bebc571b140e.tar.lz mason-cf061b0eae7948e516f88c6ba274bebc571b140e.tar.xz mason-cf061b0eae7948e516f88c6ba274bebc571b140e.tar.zst mason-cf061b0eae7948e516f88c6ba274bebc571b140e.zip | |
fix(ansiblels): use correct command on Windows (#547)
Resolves #541.
Diffstat (limited to 'lua/nvim-lsp-installer')
| -rw-r--r-- | lua/nvim-lsp-installer/servers/ansiblels/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-lsp-installer/servers/ansiblels/init.lua b/lua/nvim-lsp-installer/servers/ansiblels/init.lua index ca2933e6..2ee54b65 100644 --- a/lua/nvim-lsp-installer/servers/ansiblels/init.lua +++ b/lua/nvim-lsp-installer/servers/ansiblels/init.lua @@ -13,7 +13,7 @@ return function(name, root_dir) installer = { std.git_clone "https://github.com/ansible/ansible-language-server", npm.install { "npm@latest" }, -- ansiblels has quite a strict npm version requirement - npm.exec("npm", { "install" }), + npm.exec(npm.npm_command, { "install" }), npm.run "compile", context.receipt(function(receipt) receipt:with_primary_source(receipt.git_remote "https://github.com/ansible/ansible-language-server") |
