summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/plugs-config/lualine.lua
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-09-06 14:24:03 +0200
committerJoe <rrbo@proton.me>2023-09-06 14:24:03 +0200
commit85be102c2615e14a6ed8825bfc232ee672fd4aa2 (patch)
tree58ecb8796e9eeaf5e6e9ab25cfea04563ffb6578 /.config/nvim/lua/plugs-config/lualine.lua
parentup (diff)
downloaddotfiles-bsd-85be102c2615e14a6ed8825bfc232ee672fd4aa2.tar.gz
dotfiles-bsd-85be102c2615e14a6ed8825bfc232ee672fd4aa2.tar.bz2
dotfiles-bsd-85be102c2615e14a6ed8825bfc232ee672fd4aa2.tar.xz
dotfiles-bsd-85be102c2615e14a6ed8825bfc232ee672fd4aa2.tar.zst
dotfiles-bsd-85be102c2615e14a6ed8825bfc232ee672fd4aa2.zip
up
Diffstat (limited to '.config/nvim/lua/plugs-config/lualine.lua')
-rw-r--r--.config/nvim/lua/plugs-config/lualine.lua31
1 files changed, 22 insertions, 9 deletions
diff --git a/.config/nvim/lua/plugs-config/lualine.lua b/.config/nvim/lua/plugs-config/lualine.lua
index 56e7d83..6646d02 100644
--- a/.config/nvim/lua/plugs-config/lualine.lua
+++ b/.config/nvim/lua/plugs-config/lualine.lua
@@ -146,16 +146,23 @@ ins_left {
padding = { right = 1 },
}
-ins_left {
- -- filesize component
- 'filesize',
- cond = conditions.buffer_not_empty,
-}
+-- ins_left {
+-- 'filename',
+-- cond = conditions.buffer_not_empty,
+-- color = { fg = colors.magenta, gui = 'bold' },
+-- }
ins_left {
- 'filename',
- cond = conditions.buffer_not_empty,
- color = { fg = colors.magenta, gui = 'bold' },
+ 'buffers',
+ show_filename_only = true,
+ hide_filename_extension = false,
+ show_modified_status = true,
+ -- color = { fg = colors.darkblue },
+ -- buffers_color = {
+ -- -- Same values as the general color option can be used here.
+ -- active = 'lualine_{section}_active', -- Color for active buffer.
+ -- inactive = 'lualine_{section}_inactive', -- Color for inactive buffer.
+ -- },
}
ins_left {
@@ -195,7 +202,7 @@ ins_left {
return msg
end,
icon = ' LSP:',
- color = { fg = colors.darkblue },
+ color = { fg = colors.cyan },
}
ins_right {
@@ -205,6 +212,12 @@ ins_right {
}
ins_right {
+ -- filesize component
+ 'filesize',
+ cond = conditions.buffer_not_empty,
+}
+
+ins_right {
'branch',
icon = '',
color = { fg = colors.violet, gui = 'bold' },