feat(nonels): lua formatting
This commit is contained in:
parent
a33ed53635
commit
66ee14e884
9 changed files with 198 additions and 203 deletions
|
@ -1,38 +1,40 @@
|
|||
return {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
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 = {},
|
||||
}
|
||||
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