Merge branch 'v2.0' of https://github.com/NvChad/NvChad into pt
This commit is contained in:
commit
02224ade77
@ -17,6 +17,7 @@ local options = {
|
|||||||
side = "left",
|
side = "left",
|
||||||
width = 30,
|
width = 30,
|
||||||
hide_root_folder = true,
|
hide_root_folder = true,
|
||||||
|
preserve_window_proportions = true,
|
||||||
},
|
},
|
||||||
git = {
|
git = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
@ -101,7 +101,7 @@ local default_plugins = {
|
|||||||
vim.api.nvim_create_autocmd({ "BufRead" }, {
|
vim.api.nvim_create_autocmd({ "BufRead" }, {
|
||||||
group = vim.api.nvim_create_augroup("GitSignsLazyLoad", { clear = true }),
|
group = vim.api.nvim_create_augroup("GitSignsLazyLoad", { clear = true }),
|
||||||
callback = function()
|
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
|
if vim.v.shell_error == 0 then
|
||||||
vim.api.nvim_del_augroup_by_name "GitSignsLazyLoad"
|
vim.api.nvim_del_augroup_by_name "GitSignsLazyLoad"
|
||||||
vim.schedule(function()
|
vim.schedule(function()
|
||||||
|
Loading…
Reference in New Issue
Block a user