mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
62 lines
1.4 KiB
Lua
62 lines
1.4 KiB
Lua
local lualine = require("lualine")
|
|
|
|
-- Color table for highlights
|
|
|
|
-- local colors = require("config.colors")
|
|
local components = require("plugins.mod.lualine.components")
|
|
|
|
--[[
|
|
VSCode Style:
|
|
Remote | Git Branch | Diagnostics | Command | | MID | | Line:Column | Indent | Encoding | EOL | File Type LSP | Notifications
|
|
--]]
|
|
|
|
-- Config
|
|
local config = {
|
|
options = {
|
|
disabled_filetypes = {
|
|
statusline = { "NvimTree", "alpha", "grug-far" },
|
|
},
|
|
-- Disable sections and component separators
|
|
component_separators = { left = "", right = "" },
|
|
section_separators = { left = "", right = "" },
|
|
-- theme = "catppuccin",
|
|
theme = vim.g.colors_name,
|
|
-- IDE-like Global Status
|
|
globalstaus = true,
|
|
},
|
|
sections = {
|
|
-- these are to remove the defaults
|
|
lualine_a = {
|
|
components.mode,
|
|
},
|
|
lualine_b = {
|
|
components.diff,
|
|
},
|
|
lualine_c = {
|
|
components.diagnostics,
|
|
},
|
|
lualine_x = {
|
|
components.indent,
|
|
components.encoding,
|
|
components.eol,
|
|
},
|
|
lualine_y = {
|
|
components.filetype,
|
|
components.lsp,
|
|
},
|
|
lualine_z = {
|
|
components.progress,
|
|
},
|
|
},
|
|
inactive_sections = {
|
|
-- these are to remove the defaults
|
|
lualine_a = {},
|
|
lualine_b = {},
|
|
lualine_y = {},
|
|
lualine_z = {},
|
|
lualine_c = {},
|
|
lualine_x = {},
|
|
},
|
|
}
|
|
|
|
lualine.setup(config)
|