Initial commit
This commit is contained in:
commit
a33ed53635
15 changed files with 343 additions and 0 deletions
38
lua/plugins/lualine.lua
Normal file
38
lua/plugins/lualine.lua
Normal file
|
@ -0,0 +1,38 @@
|
|||
return {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
config = function()
|
||||
local iceberg = require('lualine.themes.iceberg_dark')
|
||||
iceberg.normal.c.bg = nil
|
||||
iceberg.inactive.c.bg = nil
|
||||
require('lualine').setup {
|
||||
options = {
|
||||
theme = iceberg,
|
||||
component_separators = '',
|
||||
section_separators = { left = '', right = '' },
|
||||
},
|
||||
sections = {
|
||||
lualine_a = { { 'mode', separator = { left = '' }, right_padding = 2 } },
|
||||
lualine_b = { 'filename', 'branch' },
|
||||
lualine_c = {
|
||||
'%=', --[[ add your center compoentnts here in place of this comment ]]
|
||||
},
|
||||
lualine_x = {},
|
||||
lualine_y = { 'filetype', 'progress' },
|
||||
lualine_z = {
|
||||
{ 'location', separator = { right = '' }, left_padding = 2 },
|
||||
},
|
||||
},
|
||||
inactive_sections = {
|
||||
lualine_a = { 'filename' },
|
||||
lualine_b = {},
|
||||
lualine_c = {},
|
||||
lualine_x = {},
|
||||
lualine_y = {},
|
||||
lualine_z = { 'location' },
|
||||
},
|
||||
tabline = {},
|
||||
extensions = {},
|
||||
}
|
||||
end
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue