Skip to content

Commit

Permalink
Change Lualine layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
miltonllera committed Apr 27, 2023
1 parent 7ebf1e9 commit 3314a42
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions lua/plugins/lualine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,17 @@ require('lualine').setup({
lualine_a = {'mode'},
lualine_b = {'branch', 'diff'},
lualine_c = {
'filetype',
"filename",
},
lualine_x = {
{
'diagnostics',
sources = {'nvim_diagnostic'},
sections = {'error', 'warn', 'info'},
},
},
lualine_y = {
"filetype",
{
function()
local msg = 'No LSP'
Expand Down Expand Up @@ -46,17 +56,12 @@ require('lualine').setup({
color = {fg = '#ffffff', gui = 'bold'},
separator = "",
},
{
'diagnostics',
sources = {'nvim_diagnostic'},
sections = {'error', 'warn', 'info'},
},
"encoding",
},
lualine_x = {'encoding'},
lualine_y = {'progress'},
lualine_z = {
{function () return '' end},
{'location'},
'progress',
'location',
}
},
})

0 comments on commit 3314a42

Please sign in to comment.