.dotfiles/nvim/lua/statusline.lua

29 lines
722 B
Lua
Raw Permalink Normal View History

2022-01-24 22:34:22 +01:00
require('lualine').setup {
options = {
icons_enabled = true,
theme = 'sonokai',
component_separators = { left = '', right = ''},
section_separators = { left = '', right = ''},
disabled_filetypes = {},
always_divide_middle = true,
},
sections = {
lualine_a = {'mode'},
lualine_b = {'branch', {'diagnostics', sources = {'nvim_lsp'}}},
lualine_c = {{'filename', path=1}},
lualine_x = {'filetype'},
lualine_y = {},
lualine_z = {'%l/%L:%c'}
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {'filename'},
lualine_x = {'location'},
lualine_y = {},
lualine_z = {}
},
tabline = {},
extensions = {'nvim-tree', 'fugitive'}
}