feat: add git diff checker

This commit is contained in:
mateen bagheri 2026-02-10 21:50:14 +03:30
parent e10426f66b
commit c10bb1bafb
1 changed files with 9 additions and 0 deletions

View File

@ -656,6 +656,15 @@ require('lazy').setup({
vim.lsp.enable 'lua_ls'
end,
},
-- Git Diff View
{
'tpope/vim-fugitive',
config = function()
vim.keymap.set('n', '<leader>gd', ':Gdiff<CR>', { desc = 'Git diff' })
vim.keymap.set('n', '<leader>gs', ':Git<CR>', { desc = 'Git status' })
end,
},
{ -- Autoformat
'stevearc/conform.nvim',