Replace 'gitblame.nvim' with 'gitsigns.nvim'
parent
b8953fc74a
commit
058dc4107c
|
@ -1,11 +0,0 @@
|
|||
local gitblame = require("gitblame")
|
||||
|
||||
gitblame.setup({
|
||||
enabled = false,
|
||||
date_format = "%r",
|
||||
message_template = " [<date> (<author>) <sha> <summary>]",
|
||||
message_when_not_committed = " [Uncommitted changes]",
|
||||
delay = 250,
|
||||
})
|
||||
|
||||
-- vim.g.gitblame_virtual_text_column = 80
|
|
@ -0,0 +1,8 @@
|
|||
local gitsigns = require("gitsigns")
|
||||
|
||||
gitsigns.setup({
|
||||
current_line_blame_opts = { delay = 0 },
|
||||
current_line_blame_formatter = "<author>, <author_time:%R> - <summary>",
|
||||
})
|
||||
|
||||
vim.api.nvim_create_user_command("Blame", gitsigns.toggle_current_line_blame, { nargs = "?" })
|
|
@ -63,7 +63,7 @@ bootstrap_paq({
|
|||
{ "JoosepAlviste/nvim-ts-context-commentstring" }, -- commentstring based on cursor position (e.g. for Svelte)
|
||||
{ "Wansmer/treesj" },
|
||||
{ "michaelb/sniprun", build = "sh install.sh" },
|
||||
{ "f-person/git-blame.nvim" },
|
||||
{ "lewis6991/gitsigns.nvim" },
|
||||
{ "brenoprata10/nvim-highlight-colors" },
|
||||
{ "razak17/tailwind-fold.nvim" },
|
||||
{ "rmagatti/auto-session" },
|
||||
|
|
Loading…
Reference in New Issue