diff options
Diffstat (limited to 'lua/config/autocmds.lua')
-rw-r--r-- | lua/config/autocmds.lua | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lua/config/autocmds.lua b/lua/config/autocmds.lua index a45b9ae..f6033d6 100644 --- a/lua/config/autocmds.lua +++ b/lua/config/autocmds.lua @@ -72,17 +72,17 @@ autocmd( } ) -autocmd({ "BufNewFile", "BufRead" }, { - pattern = "*", - callback = function() - local output = vim.fn.system("git rev-parse --is-inside-work-tree") - if output == "true\n" then - vim.opt.signcolumn = "yes" - else - vim.opt.signcolumn = "no" - end - end, -}) +-- autocmd({ "BufNewFile", "BufRead" }, { +-- pattern = "*", +-- callback = function() +-- local output = vim.fn.system("git rev-parse --is-inside-work-tree") +-- if output == "true\n" then +-- vim.opt.signcolumn = "yes" +-- else +-- vim.opt.signcolumn = "no" +-- end +-- end, +-- }) -- Automatically resize panes autocmd("VimResized", { pattern = "*", command = "wincmd =" }) |