Files
dotfiles/nvim/after/plugin/lualine.lua

41 lines
1.0 KiB
Lua

-- https://github.com/nvim-lualine/lualine.nvim
local theme = require("lualine.themes.auto")
theme.normal.c.bg = "#1F2335"
theme.normal.b.bg = "#24283B"
theme.insert.b.bg = "#24283B"
theme.visual.b.bg = "#24283B"
theme.replace.b.bg = "#24283B"
theme.command.b.bg = "#24283B"
theme.inactive.b.bg = "#24283B"
require("lualine").setup({
options = {
icons_enabled = true,
theme = theme,
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
disabled_filetypes = { "alpha", "dashboard", "NvimTree", "Outline " },
always_divide_middle = true,
globalstatus = true,
},
sections = {
lualine_a = { "mode" },
lualine_b = { "branch", "diff", "diagnostics" },
lualine_c = { "filename" },
lualine_x = { "encoding", "fileformat", "filetype" },
lualine_y = { "progress" },
lualine_z = { "location" },
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = { "filename" },
lualine_x = { "location" },
lualine_y = {},
lualine_z = {},
},
tabline = {},
extensions = {},
})