Git blame virtual text
This commit is contained in:
parent
2f1c1aa3c1
commit
efd628cde1
1 changed files with 3 additions and 2 deletions
|
@ -1,11 +1,12 @@
|
||||||
-- Adds git related signs to the gutter, as well as utilities for managing changes
|
-- 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
|
-- See: https://github.com/lewis6991/gitsigns.nvim?tab=readme-ov-file#installation--usage
|
||||||
-- config. This will add also the recommended keymaps.
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
'lewis6991/gitsigns.nvim',
|
'lewis6991/gitsigns.nvim',
|
||||||
opts = {
|
opts = {
|
||||||
|
current_line_blame = true, -- Show blame for current line
|
||||||
|
|
||||||
on_attach = function(bufnr)
|
on_attach = function(bufnr)
|
||||||
local gitsigns = require 'gitsigns'
|
local gitsigns = require 'gitsigns'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue