From 4d455974688392abf0d8e420bc5099d1e0bd3204 Mon Sep 17 00:00:00 2001 From: Ashish Date: Sun, 2 Apr 2023 21:26:21 +0100 Subject: [PATCH 1/2] gitsign: handling file path with spaces --- lua/plugins/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() From 1754a23e65f1b9e36904da330688ee8bd7ba5b56 Mon Sep 17 00:00:00 2001 From: siduck Date: Tue, 4 Apr 2023 05:31:43 +0530 Subject: [PATCH 2/2] add nvimtree option to preserve window proportions (#1597) --- lua/plugins/configs/nvimtree.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/configs/nvimtree.lua b/lua/plugins/configs/nvimtree.lua index 6cafb04..875fa5b 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 = false,