aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/powerline.lua
diff options
context:
space:
mode:
authorAlec Goncharow <algo@cloudflare.com>2023-02-24 23:20:34 -0600
committerAlec Goncharow <algo@cloudflare.com>2023-02-24 23:20:34 -0600
commit0c446121ba1f1653a0d984068209429e8cc453fb (patch)
treebc04e8bb2a985e5cb4f7b15c1e4d8962b2c4b000 /.config/nvim/lua/powerline.lua
parentd3aeb8f7d8d9b4352e7b827a361d1da11cb6cf04 (diff)
out of the frying pan
into the fire
Diffstat (limited to '.config/nvim/lua/powerline.lua')
-rw-r--r--.config/nvim/lua/powerline.lua47
1 files changed, 47 insertions, 0 deletions
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 = {}
+}