Initial commit

This commit is contained in:
duck
2025-12-17 21:43:32 +05:00
commit 591831666f
38 changed files with 2382 additions and 0 deletions

View File

@@ -0,0 +1,71 @@
local lualine_pad = {
"",
separator = { left = "", right = "" },
padding = 0,
color = "Normal",
fmt = function(input, context)
local winnr = vim.fn.tabpagewinnr(context.tabnr)
return string.rep("", require("winpad").get_pad_size(winnr)) .. input
end
}
return {
{
"letieu/harpoon-lualine",
dependencies = {
{
"ThePrimeagen/harpoon",
branch = "harpoon2",
}
},
},
{
"nvim-lualine/lualine.nvim",
dependencies = {
"nvim-tree/nvim-web-devicons",
"winpad",
"letieu/harpoon-lualine",
},
config = true,
opts = {
options = {
theme = "auto",
refresh = { statusline = 1000, tabline = 1000, winbar = 1000 },
section_separators = { left = "", right = "" },
component_separators = { left = "", right = "" },
},
sections = {
lualine_a = {
lualine_pad,
{
"mode",
separator = { left = "" },
},
},
lualine_b = { "filename", "diff" },
lualine_c = {},
lualine_x = {
{
"harpoon2",
icon = "󰀱",
indicators = { "1", "2", "3", "4", "5" },
active_indicators = { "1", "2", "3", "4", "5" },
color = { fg = "#a0a0c0" },
color_active = { fg = "#fc6346" },
},
-- It's him! The legendary cat2!
{ function() return "🐈" end }, "diagnostics"
},
lualine_y = { "branch" },
lualine_z = {},
},
inactive_sections = {
lualine_a = { lualine_pad },
lualine_b = { "filename" },
lualine_c = {},
lualine_x = {},
lualine_y = {},
lualine_z = { function() return "👀" end },
},
},
}
}