From 191f0cb7989ed409df56829dd1708f1011d57deb Mon Sep 17 00:00:00 2001 From: rootiest Date: Sat, 8 Feb 2025 20:05:35 -0500 Subject: [PATCH] remove lazygit utils (using snacks.lazygit instead) --- lua/config/autocmds.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lua/config/autocmds.lua b/lua/config/autocmds.lua index f37de20..383890a 100644 --- a/lua/config/autocmds.lua +++ b/lua/config/autocmds.lua @@ -7,14 +7,14 @@ local autogrp = vim.api.nvim_create_augroup local autocmd = vim.api.nvim_create_autocmd -- LazyGit root detection -if pcall(require, 'lazygit.utils') then - autocmd('BufEnter', { - pattern = '*', - callback = function() - require('lazygit.utils').project_root_dir() - end, - }) -end +-- if pcall(require, 'lazygit.utils') then +-- autocmd('BufEnter', { +-- pattern = '*', +-- callback = function() +-- require('lazygit.utils').project_root_dir() +-- end, +-- }) +-- end -- ━━━━━━━━━━━━━━━━━━━━━━━ Set up Qalc keymappings ━━━━━━━━━━━━━━━━━━━━━━━ if pcall(require, 'qalc') then