style(nvim): lualine
This commit is contained in:
parent
c7deca5a68
commit
33101ebb85
@ -12,7 +12,7 @@ opt.relativenumber = true
|
||||
opt.clipboard:append { 'unnamed' }
|
||||
opt.clipboard:append { 'unnamedplus' }
|
||||
|
||||
opt.shortmess:append{a = true, s = true, I = true, c = true}
|
||||
opt.shortmess:append{a = true, s = true, I = true, c = true, S = true}
|
||||
|
||||
opt.cmdheight = 0
|
||||
vim.wo.signcolumn = "yes:1"
|
||||
|
||||
@ -44,11 +44,7 @@ return {
|
||||
{
|
||||
'vim.fn.getcwd()',
|
||||
fmt = function(str)
|
||||
local res = str
|
||||
|
||||
res = str:gsub(os.getenv("HOME"), "~")
|
||||
|
||||
return res
|
||||
return str:gsub(os.getenv("HOME"), "~")
|
||||
end,
|
||||
color = { fg='white', gui='bold' },
|
||||
padding = { left = 1, right = 0 }
|
||||
@ -72,8 +68,8 @@ return {
|
||||
},
|
||||
},
|
||||
lualine_x = {'GET_FORMATTED_VIRTUAL_ENV()', 'DETECT_INDENT_TYPE()', 'filetype'},
|
||||
lualine_y = {'progress'},
|
||||
lualine_z = {'location'},
|
||||
lualine_y = {'searchcount'},
|
||||
lualine_z = {'location', 'selectioncount'},
|
||||
},
|
||||
})
|
||||
end,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user