nvim: statusline
This commit is contained in:
parent
d024050371
commit
45054efd16
2 changed files with 2 additions and 2 deletions
|
@ -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 },
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue