47 lines
886 B
Lua
47 lines
886 B
Lua
return {
|
|
"nvim-lualine/lualine.nvim",
|
|
dependencies = {
|
|
"nvim-tree/nvim-web-devicons",
|
|
"sherlock5512/lualine-spell-status",
|
|
},
|
|
opts = {
|
|
options = {
|
|
theme = "auto",
|
|
component_separators = { left = "|", right = "|" },
|
|
section_separators = { left = "", right = "" },
|
|
disabled_filetypes = {},
|
|
always_divide_middle = true,
|
|
globalstatus = true,
|
|
},
|
|
sections = {
|
|
lualine_a = {
|
|
"mode",
|
|
"spell_status",
|
|
},
|
|
lualine_b = {
|
|
"branch",
|
|
"diff",
|
|
"diagnostics",
|
|
},
|
|
lualine_c = {
|
|
{ "filename", path = 1 },
|
|
{ "filetype", icon_only = true },
|
|
},
|
|
lualine_x = {
|
|
"encoding",
|
|
"fileformat",
|
|
"filetype",
|
|
{ require("lazy.status").updates, cond = require("lazy.status").has_updates },
|
|
},
|
|
lualine_y = {
|
|
"progress",
|
|
"searchcount",
|
|
},
|
|
lualine_z = {
|
|
"location",
|
|
},
|
|
},
|
|
tabline = {},
|
|
},
|
|
}
|