Skip to content

Commit

Permalink
Fix error on Windows when space in install path (nvim-lua#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
debashisbiswas authored Dec 19, 2022
1 parent f77b8e9 commit ad2dbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local install_path = vim.fn.stdpath 'data' .. '/site/pack/packer/start/packer.nv
local is_bootstrap = false
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
is_bootstrap = true
vim.fn.execute('!git clone https://github.com/wbthomason/packer.nvim ' .. install_path)
vim.fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
vim.cmd [[packadd packer.nvim]]
end

Expand Down

0 comments on commit ad2dbe5

Please sign in to comment.