mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
Update 2025-03-08 Update 2025-03-09 Update 2025-03-10 Update 2025-03-12 Update 2025-03-15 Update 2025-03-16 Update 2025-03-17 Update 2025-03-18 Update 2025-03-21 Update 2025-03-23 Update 2025-03-27 Update 2025-03-28 Update 2025-03-30
69 lines
1.7 KiB
Lua
69 lines
1.7 KiB
Lua
return {
|
|
"nvim-lualine/lualine.nvim",
|
|
dependencies = {
|
|
"nvim-tree/nvim-web-devicons",
|
|
"arkav/lualine-lsp-progress",
|
|
{ "letieu/harpoon-lualine", dependencies = {
|
|
"ThePrimeagen/harpoon",
|
|
} },
|
|
},
|
|
opts = {
|
|
options = {
|
|
icons_enabled = true,
|
|
theme = "auto",
|
|
component_separators = { left = "", right = "" },
|
|
section_separators = { left = "", right = "" },
|
|
disabled_filetypes = {
|
|
statusline = {},
|
|
winbar = {},
|
|
},
|
|
ignore_focus = {},
|
|
always_divide_middle = false,
|
|
globalstatus = true,
|
|
refresh = {
|
|
statusline = 1000,
|
|
tabline = 1000,
|
|
winbar = 1000,
|
|
},
|
|
},
|
|
--[[ Available components
|
|
`branch` (git branch)
|
|
`buffers` (shows currently available buffers)
|
|
`diagnostics` (diagnostics count from your preferred source)
|
|
`diff` (git diff status)
|
|
`encoding` (file encoding)
|
|
`fileformat` (file format)
|
|
`filename`
|
|
`filesize`
|
|
`filetype`
|
|
`hostname`
|
|
`location` (location in file in line:column format)
|
|
`mode` (vim mode)
|
|
`progress` (%progress in file)
|
|
`searchcount` (number of search matches when hlsearch is active)
|
|
`selectioncount` (number of selected characters or lines)
|
|
`tabs` (shows currently available tabs)
|
|
`windows` (shows currently available windows) ]]
|
|
sections = {
|
|
lualine_a = { "mode" },
|
|
lualine_b = { "branch" },
|
|
lualine_c = { "filename", "diff", "harpoon2", "lsp_progress" },
|
|
lualine_x = { "diagnostics", "encoding", "filetype", "filesize" },
|
|
lualine_y = { "progress" },
|
|
lualine_z = { "location" },
|
|
},
|
|
inactive_sections = {
|
|
lualine_a = {},
|
|
lualine_b = {},
|
|
lualine_c = { "filename" },
|
|
lualine_x = { "location" },
|
|
lualine_y = {},
|
|
lualine_z = {},
|
|
},
|
|
tabline = {},
|
|
winbar = {},
|
|
inactive_winbar = {},
|
|
extentions = {},
|
|
},
|
|
}
|