Git blame virtual text

This commit is contained in:
Imbus 2024-08-06 03:37:26 +02:00
parent 2f1c1aa3c1
commit efd628cde1

View file

@ -1,11 +1,12 @@
-- Adds git related signs to the gutter, as well as utilities for managing changes
-- NOTE: gitsigns is already included in init.lua but contains only the base
-- config. This will add also the recommended keymaps.
-- See: https://github.com/lewis6991/gitsigns.nvim?tab=readme-ov-file#installation--usage
return {
{
'lewis6991/gitsigns.nvim',
opts = {
current_line_blame = true, -- Show blame for current line
on_attach = function(bufnr)
local gitsigns = require 'gitsigns'