summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/plugs-config/lualine.lua
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-09-05 18:28:27 +0200
committerJoe <rrbo@proton.me>2023-09-05 18:28:27 +0200
commit97f4424d75c3cf68ff663334c71566a09decd464 (patch)
tree31213885b8531a3740eb0d016536d114fd9c7491 /.config/nvim/lua/plugs-config/lualine.lua
parentupupuppu (diff)
downloaddotfiles-bsd-97f4424d75c3cf68ff663334c71566a09decd464.tar.gz
dotfiles-bsd-97f4424d75c3cf68ff663334c71566a09decd464.tar.bz2
dotfiles-bsd-97f4424d75c3cf68ff663334c71566a09decd464.tar.xz
dotfiles-bsd-97f4424d75c3cf68ff663334c71566a09decd464.tar.zst
dotfiles-bsd-97f4424d75c3cf68ff663334c71566a09decd464.zip
up
Diffstat (limited to '.config/nvim/lua/plugs-config/lualine.lua')
-rw-r--r--.config/nvim/lua/plugs-config/lualine.lua21
1 files changed, 5 insertions, 16 deletions
diff --git a/.config/nvim/lua/plugs-config/lualine.lua b/.config/nvim/lua/plugs-config/lualine.lua
index 3ea3a87..56e7d83 100644
--- a/.config/nvim/lua/plugs-config/lualine.lua
+++ b/.config/nvim/lua/plugs-config/lualine.lua
@@ -158,10 +158,6 @@ ins_left {
color = { fg = colors.magenta, gui = 'bold' },
}
-ins_left { 'location' }
-
-ins_left { 'progress', color = { fg = colors.fg, gui = 'bold' } }
-
ins_left {
'diagnostics',
sources = { 'nvim_diagnostic' },
@@ -199,21 +195,12 @@ ins_left {
return msg
end,
icon = ' LSP:',
- color = { fg = '#ffffff', gui = 'bold' },
-}
-
--- Add components to right sections
-ins_right {
- 'o:encoding', -- option component same as &encoding in viml
- fmt = string.upper, -- I'm not sure why it's upper case either ;)
- cond = conditions.hide_in_width,
- color = { fg = colors.green, gui = 'bold' },
+ color = { fg = colors.darkblue },
}
ins_right {
- 'fileformat',
- fmt = string.upper,
- icons_enabled = false, -- I think icons are cool but Eviline doesn't have them. sigh
+ 'filetype',
+ icons_enabled = true, -- I think icons are cool but Eviline doesn't have them. sigh
color = { fg = colors.green, gui = 'bold' },
}
@@ -235,6 +222,8 @@ ins_right {
cond = conditions.hide_in_width,
}
+ins_right { 'location' }
+
ins_right {
function()
return '▊'