diff options
| author | William Boman <william@redwill.se> | 2021-10-17 23:39:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-17 23:39:47 +0200 |
| commit | dd4afb08b93db3d53d0d70db749fc20bb487e1c3 (patch) | |
| tree | 48edefd443c811df06dedd6306593616200e603f /lua/nvim-lsp-installer/process.lua | |
| parent | add setting for configuring server install dir (#166) (diff) | |
| download | mason-dd4afb08b93db3d53d0d70db749fc20bb487e1c3.tar mason-dd4afb08b93db3d53d0d70db749fc20bb487e1c3.tar.gz mason-dd4afb08b93db3d53d0d70db749fc20bb487e1c3.tar.bz2 mason-dd4afb08b93db3d53d0d70db749fc20bb487e1c3.tar.lz mason-dd4afb08b93db3d53d0d70db749fc20bb487e1c3.tar.xz mason-dd4afb08b93db3d53d0d70db749fc20bb487e1c3.tar.zst mason-dd4afb08b93db3d53d0d70db749fc20bb487e1c3.zip | |
installers/context: rename functions (#170)
Diffstat (limited to 'lua/nvim-lsp-installer/process.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/process.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-lsp-installer/process.lua b/lua/nvim-lsp-installer/process.lua index 999b1a52..ae3647cb 100644 --- a/lua/nvim-lsp-installer/process.lua +++ b/lua/nvim-lsp-installer/process.lua @@ -87,7 +87,7 @@ function M.spawn(cmd, opts, callback) } log.lazy_debug(function() - local sanitized_env = sanitize_env_list(opts.env or {}) + local sanitized_env = opts.env and sanitize_env_list(opts.env) or nil return "Spawning cmd=%s, spawn_opts=%s", cmd, { |
