1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
return {
{
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons", lazy = true },
config = function()
require("lualine").setup {
options = {
icons_enabled = true,
ignore_focus = {},
always_divide_middle = true,
separator = { left = "", right = "" },
section_separators = "",
component_separators = "",
},
sections = {
lualine_a = { "mode" },
lualine_b = {
{ "branch", icon = "" },
{ "diff", symbols = { added = " ", modified = " ", removed = " " } },
{ "diagnostics" },
},
lualine_c = { '%=', { "filename", path = 1 } },
lualine_x = {},
lualine_y = { "fileformat", "encoding", "filetype" },
lualine_z = { "progress", "location" },
},
inactive_sections = {
lualine_a = {
{ function() return vim.api.nvim_win_get_number(0) end }
},
lualine_b = {},
lualine_c = { '%=', { "filename", path = 1 } },
lualine_x = {},
lualine_y = { "filetype" },
lualine_z = { "location" },
},
tabline = {
lualine_a = {
{
"tabs",
show_modified_status = true,
use_mode_colors = true,
mode = 2,
},
},
lualine_b = {
{ "aerial", },
},
},
extensions = { "aerial", "lazy", "oil", "quickfix" }
}
end,
},
}
|