diff --git a/init.lua b/init.lua index 34ca72e2942..75b3d5dda3b 100644 --- a/init.lua +++ b/init.lua @@ -102,13 +102,53 @@ require('lazy').setup({ -- See `:help lualine.txt` opts = { options = { - icons_enabled = false, + globalstatus = true, + icons_enabled = true, theme = 'tokyonight', - component_separators = '|', - section_separators = '' + -- component_separators = '|', + -- section_separators = '' + component_separators = { left = '', right = ''}, + section_separators = { left = '', right = ''}, }, sections = { - lualine_y = { 'progress', { getWords }} + lualine_a = {"filetype"}, + lualine_b = {'diff', 'diagnostics'}, + lualine_c = {'branch'}, + lualine_x = {'encoding', 'fileformat'}, + lualine_y = { + "location", + -- { getWords } + }, + lualine_z = { "mode" } + }, + winbar = { + lualine_a = {}, + lualine_b = {}, + lualine_c = { + { + 'filename', + file_status = true, + path = 1 + } + }, + lualine_x = {}, + lualine_y = {}, + lualine_z = {} + }, + + inactive_winbar = { + lualine_a = {}, + lualine_b = {}, + lualine_c = { + { + 'filename', + file_status = true, + path = 1 + } + }, + lualine_x = {}, + lualine_y = {}, + lualine_z = {} } }, },