diff --git a/lua/plugins/configs/nvimtree.lua b/lua/plugins/configs/nvimtree.lua index 74779d3..144dea9 100644 --- a/lua/plugins/configs/nvimtree.lua +++ b/lua/plugins/configs/nvimtree.lua @@ -17,6 +17,7 @@ local options = { side = "left", width = 30, hide_root_folder = true, + preserve_window_proportions = true, }, git = { enable = true, diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 5c5c0e4..19e212e 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -101,7 +101,7 @@ local default_plugins = { vim.api.nvim_create_autocmd({ "BufRead" }, { group = vim.api.nvim_create_augroup("GitSignsLazyLoad", { clear = true }), callback = function() - vim.fn.system("git -C " .. vim.fn.expand "%:p:h" .. " rev-parse") + vim.fn.system("git -C " .. '"' .. vim.fn.expand "%:p:h" .. '"' .. " rev-parse") if vim.v.shell_error == 0 then vim.api.nvim_del_augroup_by_name "GitSignsLazyLoad" vim.schedule(function()