refactor: update width limit for git blame display

This commit is contained in:
2024-08-28 06:37:29 -04:00
parent a62b264d03
commit 15c5832d79
+1 -17
View File
@@ -59,7 +59,7 @@ return {
local git_blame = require("gitblame")
local utils = require("utils.rootiest")
-- Define the width limit for displaying the Git blame component
local width_limit = 180 -- Adjust this value as needed
local width_limit = 245 -- Adjust this value as needed
-- Add Git-blame to lualine_c section
table.insert(config.sections.lualine_c, {
git_blame.get_current_blame_text,
@@ -98,20 +98,4 @@ return {
},
keys = data.keys.gitgraph,
},
{ -- FuGit
"SuperBo/fugit2.nvim",
opts = {
width = 100,
},
dependencies = {
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
{
"chrisgrieser/nvim-tinygit", -- optional: for Github PR view
dependencies = { "stevearc/dressing.nvim" },
},
},
cmd = data.cmd.fugit,
keys = data.keys.fugit,
},
}