Update 2025-10-31

update 2025-10-08

chore: update readme

Update 2025-10-09

Update 2025-10-15

Update 2025-10-22

Update 2025-10-31
This commit is contained in:
2025-10-08 19:54:46 +03:00
parent f7194a919e
commit f5c52bcc9d
65 changed files with 1052 additions and 1721 deletions

View File

@@ -2,21 +2,10 @@
---@param str string
---@param ctx table
---@return string
local function wrap_string(str, ctx)
local function wrap_string(str, _ctx)
return "[" .. str:gsub("%s+", "") .. "]"
end
local function diff_source()
local gitsigns = vim.b.gitsigns_status_dict
if gitsigns then
return {
added = gitsigns.added,
modified = gitsigns.changed,
removed = gitsigns.removed,
}
end
end
return {
"nvim-lualine/lualine.nvim",
event = "VimEnter",
@@ -28,10 +17,8 @@ return {
require("lsp-progress").setup()
end,
},
"lewis6991/gitsigns.nvim",
{
"kristoferssolo/lualine-harpoon.nvim",
-- dir = "~/repos/lualine-harpoon.nvim/",
dependencies = {
{
"ThePrimeagen/harpoon",
@@ -69,7 +56,7 @@ return {
lualine_a = {},
lualine_b = {
{ "mode", fmt = wrap_string },
{ "b:gitsigns_head", icon = "" },
{ "branch" },
},
lualine_c = {
{
@@ -81,7 +68,7 @@ return {
"filename",
padding = { right = 1, left = 0 },
},
{ "diff", source = diff_source },
"diff",
"harpoon",
},
lualine_x = {