37 lines
1.1 KiB
Lua
37 lines
1.1 KiB
Lua
return {
|
|
'nvim-lualine/lualine.nvim',
|
|
dependencies = { 'nvim-tree/nvim-web-devicons' }, -- Ikonokhoz kell!
|
|
config = function()
|
|
require('lualine').setup({
|
|
options = {
|
|
theme = 'auto', -- Alkalmazkodik a színsémádhoz
|
|
globalstatus = false,
|
|
},
|
|
-- Ez rakja felülre az információkat (Neovim 0.8+ kell hozzá)
|
|
winbar = {
|
|
lualine_a = { 'mode' },
|
|
lualine_b = { 'branch' },
|
|
lualine_c = { 'filename' },
|
|
lualine_x = { 'diagnostics' },
|
|
lualine_y = { 'filetype' },
|
|
lualine_z = { 'location' }
|
|
},
|
|
-- Kikapcsoljuk az alsó sávot
|
|
sections = {
|
|
lualine_a = {},
|
|
lualine_b = {},
|
|
lualine_c = {},
|
|
lualine_x = {},
|
|
lualine_y = {},
|
|
lualine_z = {}
|
|
},
|
|
inactive_winbar = {
|
|
lualine_c = { 'filename' }, -- Itt csak a fájlnevet érdemes hagyni, hogy ne legyen zavaró
|
|
},
|
|
inactive_sections = {
|
|
-- lualine_c = { 'filename' }, -- Itt csak a fájlnevet érdemes hagyni, hogy ne legyen zavaró
|
|
},
|
|
})
|
|
end
|
|
}
|