diff options
| author | Ariel D'ALessandro <dalessandro.ariel@gmail.com> | 2021-07-26 20:57:58 +0200 |
|---|---|---|
| committer | Ariel D'ALessandro <dalessandro.ariel@gmail.com> | 2021-07-26 20:57:58 +0200 |
| commit | 7982e2fae5defeb296c210e2aae098a8a11df25a (patch) | |
| tree | dbcc2ff9d9cec7039635fa0550bbbd02dae82b1a /lua/alpha/status-line.lua | |
| download | nvim-conf-7982e2fae5defeb296c210e2aae098a8a11df25a.tar.gz nvim-conf-7982e2fae5defeb296c210e2aae098a8a11df25a.zip | |
Initialization of the repository, copy from https://github.com/adalessa/dotfiles
Diffstat (limited to 'lua/alpha/status-line.lua')
| -rw-r--r-- | lua/alpha/status-line.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lua/alpha/status-line.lua b/lua/alpha/status-line.lua new file mode 100644 index 0000000..63523f4 --- /dev/null +++ b/lua/alpha/status-line.lua @@ -0,0 +1,24 @@ +require('lualine').setup{ + options = { + theme = 'gruvbox', + section_separators = { '', '' }, + component_separators = { '', '' }, + icons_enabled = true, + }, + sections = { + lualine_a = { { 'mode', upper = true } }, + lualine_b = { { 'branch', icon = '' } }, + lualine_c = { { 'filename', file_status = true, path = 1 } }, + lualine_x = { { 'diagnostics', sources = { 'nvim_lsp' } },'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 = { }, + }, + } |