From 0c446121ba1f1653a0d984068209429e8cc453fb Mon Sep 17 00:00:00 2001 From: Alec Goncharow Date: Fri, 24 Feb 2023 23:20:34 -0600 Subject: out of the frying pan into the fire --- .config/nvim/lua/powerline.lua | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .config/nvim/lua/powerline.lua (limited to '.config/nvim/lua/powerline.lua') diff --git a/.config/nvim/lua/powerline.lua b/.config/nvim/lua/powerline.lua new file mode 100644 index 0000000..5bee6be --- /dev/null +++ b/.config/nvim/lua/powerline.lua @@ -0,0 +1,47 @@ +require('lualine').setup { + options = { + icons_enabled = true, + theme = 'gruvbox_dark', + component_separators = { left = '', right = ''}, + section_separators = { left = '', right = ''}, + disabled_filetypes = { + statusline = {}, + winbar = {}, + }, + ignore_focus = {}, + always_divide_middle = true, + globalstatus = false, + refresh = { + statusline = 1000, + tabline = 1000, + winbar = 1000, + } + }, + sections = { + lualine_a = {'mode'}, + lualine_b = {'branch', 'diff', 'diagnostics'}, + lualine_c = {'filename'}, + lualine_x = {'encoding', 'fileformat', 'filetype'}, + lualine_y = {'progress'}, + lualine_z = {'location'} + }, + inactive_sections = { + lualine_a = {}, + lualine_b = {}, + lualine_c = {'filename'}, + lualine_x = {'location'}, + lualine_y = {}, + lualine_z = {} + }, + tabline = { + lualine_a = {'buffers'}, + lualine_b = {'branch'}, + lualine_c = {}, + lualine_x = {}, + lualine_y = {}, + lualine_z = {'tabs'} + }, + winbar = {}, + inactive_winbar = {}, + extensions = {} +} -- cgit v1.2.3-70-g09d2