nvim: statusline

This commit is contained in:
Daniel Lundin 2025-03-12 14:41:25 +01:00
parent d024050371
commit 45054efd16
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
2 changed files with 2 additions and 2 deletions

View file

@ -126,6 +126,7 @@ local setupGroups = function(c)
Type = { link = "NormalNC" },
MsgArea = { fg = c.dimmed_subtle },
StatusLine = { fg = c.dimmed, bg = c.dimmed_subtle },
String = { fg = c.string },

View file

@ -8,7 +8,6 @@ vim.g.maplocalleader = ","
vim.opt.cursorline = false
vim.opt.guicursor =
"n-v-c:block,i-ci-ve:ver25,r-cr:hor20,o:hor50,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor,sm:block-blinkwait175-blinkoff150-blinkon175"
vim.opt.laststatus = 0
vim.opt.number = false
vim.opt.relativenumber = false
vim.opt.ruler = true
@ -44,7 +43,7 @@ function CondensedPath()
return vim.fn.pathshorten(early_path) .. '/' .. late_path
end
vim.opt.rulerformat = "%50(%=%{%v:lua.GetIndicators()%}%#MsgArea#%{%v:lua.CondensedPath()%}%)%7(%l:%c%)"
vim.opt.statusline = "%{%v:lua.CondensedPath()%}%=%{%v:lua.GetIndicators()%}%7(%l:%c%)"
-- Search
vim.opt.ignorecase = true