aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/status-line.lua
diff options
context:
space:
mode:
authorAriel D'ALessandro <dalessandro.ariel@gmail.com>2021-07-26 20:57:58 +0200
committerAriel D'ALessandro <dalessandro.ariel@gmail.com>2021-07-26 20:57:58 +0200
commit7982e2fae5defeb296c210e2aae098a8a11df25a (patch)
treedbcc2ff9d9cec7039635fa0550bbbd02dae82b1a /lua/alpha/status-line.lua
downloadnvim-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.lua24
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 = { },
+ },
+ }