aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim_lsp/util.lua
diff options
context:
space:
mode:
authorTan Kian <thejianmail@gmail.com>2020-04-28 23:14:32 +0800
committerGitHub <noreply@github.com>2020-04-28 08:14:32 -0700
commit22509dfcb89d5610b94caf521efc0b14e1ba3e7c (patch)
tree2558d592ce75b88c730a4211d1196deee29d45d5 /lua/nvim_lsp/util.lua
parent[docgen] Update README.md (diff)
downloadnvim-lspconfig-22509dfcb89d5610b94caf521efc0b14e1ba3e7c.tar
nvim-lspconfig-22509dfcb89d5610b94caf521efc0b14e1ba3e7c.tar.gz
nvim-lspconfig-22509dfcb89d5610b94caf521efc0b14e1ba3e7c.tar.bz2
nvim-lspconfig-22509dfcb89d5610b94caf521efc0b14e1ba3e7c.tar.lz
nvim-lspconfig-22509dfcb89d5610b94caf521efc0b14e1ba3e7c.tar.xz
nvim-lspconfig-22509dfcb89d5610b94caf521efc0b14e1ba3e7c.tar.zst
nvim-lspconfig-22509dfcb89d5610b94caf521efc0b14e1ba3e7c.zip
LspInstall: --no-package-lock --no-save --production #198
Diffstat (limited to 'lua/nvim_lsp/util.lua')
-rw-r--r--lua/nvim_lsp/util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim_lsp/util.lua b/lua/nvim_lsp/util.lua
index c40c801d..ee431a79 100644
--- a/lua/nvim_lsp/util.lua
+++ b/lua/nvim_lsp/util.lua
@@ -392,7 +392,7 @@ function M.npm_installer(config)
set -e
mkdir -p "{{install_dir}}"
cd "{{install_dir}}"
- npm install {{packages}}
+ npm install {{packages}} --no-package-lock --no-save --production
{{post_install_script}}
]]):gsub("{{(%S+)}}", install_params)
cmd:write(install_script)