diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-lsp-installer/installers/npm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-lsp-installer/installers/npm.lua b/lua/nvim-lsp-installer/installers/npm.lua index 6b5546e4..e6923520 100644 --- a/lua/nvim-lsp-installer/installers/npm.lua +++ b/lua/nvim-lsp-installer/installers/npm.lua @@ -32,7 +32,7 @@ function M.packages(packages) if not (fs.dir_exists(path.concat { server.root_dir, "node_modules" }) or fs.file_exists(path.concat { server.root_dir, "package.json" })) then - c.run(npm, { "init", "--yes" }) + c.run(npm, { "init", "--yes", "--scope=lsp-installer" }) end -- stylua: ignore end c.run(npm, vim.list_extend({ "install" }, packages)) |
