NIVM/lua/plugins/configs/UI/lualine.lua
Robert Morrison fb537df11b chore(init): Initial working version
Create and push an initial working version of this repo before I change
things on this machine

Signed-off-by: Robert Morrison <robert@closedless.xyz>
2023-09-10 22:22:30 +01:00

64 lines
942 B
Lua

return {
options = {
icons_enabled = true,
theme = 'gruvbox',
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,
},
{
require('noice').api.status.mode.get,
cond = require('noice').api.status.mode.has,
},
},
lualine_y = {
'progress',
'searchcount',
},
lualine_z = {
'location',
},
},
tabline = {},
extensions = {
'neo-tree',
'quickfix',
},
}