summaryrefslogtreecommitdiffstats
path: root/.config/nvim
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-09-06 18:32:32 +0200
committerJoe <rrbo@proton.me>2023-09-06 18:32:32 +0200
commit1ba51a99d24dd47f392a666d6602bdee25d341c4 (patch)
tree0e87d69c2fa66cabd07adc8be19ead8cf444e2b9 /.config/nvim
parentup (diff)
downloaddotfiles-bsd-1ba51a99d24dd47f392a666d6602bdee25d341c4.tar.gz
dotfiles-bsd-1ba51a99d24dd47f392a666d6602bdee25d341c4.tar.bz2
dotfiles-bsd-1ba51a99d24dd47f392a666d6602bdee25d341c4.tar.xz
dotfiles-bsd-1ba51a99d24dd47f392a666d6602bdee25d341c4.tar.zst
dotfiles-bsd-1ba51a99d24dd47f392a666d6602bdee25d341c4.zip
up
Diffstat (limited to '')
-rw-r--r--.config/nvim/lua/plugs-config/lualine.lua26
1 files changed, 13 insertions, 13 deletions
diff --git a/.config/nvim/lua/plugs-config/lualine.lua b/.config/nvim/lua/plugs-config/lualine.lua
index 6646d02..d577b54 100644
--- a/.config/nvim/lua/plugs-config/lualine.lua
+++ b/.config/nvim/lua/plugs-config/lualine.lua
@@ -178,16 +178,22 @@ ins_left {
-- Insert mid section. You can make any number of sections in neovim :)
-- for lualine it's any number greater then 2
-ins_left {
- function()
- return '%='
- end,
+-- ins_left {
+-- function()
+-- return '%='
+-- end,
+-- }
+
+ins_right {
+ 'filetype',
+ icons_enabled = true, -- I think icons are cool but Eviline doesn't have them. sigh
+ color = { fg = colors.blue },
}
-ins_left {
+ins_right {
-- Lsp server name .
function()
- local msg = 'No Active Lsp'
+ local msg = 'no lsp'
local buf_ft = vim.api.nvim_buf_get_option(0, 'filetype')
local clients = vim.lsp.get_active_clients()
if next(clients) == nil then
@@ -201,17 +207,11 @@ ins_left {
end
return msg
end,
- icon = ' LSP:',
+ icon = ' ',
color = { fg = colors.cyan },
}
ins_right {
- 'filetype',
- icons_enabled = true, -- I think icons are cool but Eviline doesn't have them. sigh
- color = { fg = colors.green, gui = 'bold' },
-}
-
-ins_right {
-- filesize component
'filesize',
cond = conditions.buffer_not_empty,