config(nvim): git blame
parent
0b50a2130b
commit
a381b9e2d7
|
@ -137,6 +137,11 @@ require("lazy").setup({
|
||||||
StatusLineNC = {
|
StatusLineNC = {
|
||||||
fg = colors.flamingo,
|
fg = colors.flamingo,
|
||||||
},
|
},
|
||||||
|
-- Support gitsigns.nvim
|
||||||
|
GitSignsCurrentLineBlame = {
|
||||||
|
fg = colors.overlay1,
|
||||||
|
style = { "italic" },
|
||||||
|
},
|
||||||
-- https://neovim.io/doc/user/diagnostic.html#diagnostic-highlights
|
-- https://neovim.io/doc/user/diagnostic.html#diagnostic-highlights
|
||||||
DiagnosticVirtualTextError = color_eva,
|
DiagnosticVirtualTextError = color_eva,
|
||||||
DiagnosticSignError = color_eva,
|
DiagnosticSignError = color_eva,
|
||||||
|
@ -284,9 +289,9 @@ require("lazy").setup({
|
||||||
},
|
},
|
||||||
current_line_blame = true,
|
current_line_blame = true,
|
||||||
current_line_blame_opts = {
|
current_line_blame_opts = {
|
||||||
delay = 1200,
|
|
||||||
ignore_whitespace = true,
|
ignore_whitespace = true,
|
||||||
},
|
},
|
||||||
|
current_line_blame_formatter = "<author> <author_time:%Y-%m-%d> <summary>",
|
||||||
on_attach = function(bufnr)
|
on_attach = function(bufnr)
|
||||||
local gs = package.loaded.gitsigns
|
local gs = package.loaded.gitsigns
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue