Repository navigation
Expand file tree
/
Copy pathstatusline.lua
More file actions
68 lines (66 loc) · 1.74 KB
/
Copy pathstatusline.lua
File metadata and controls
68 lines (66 loc) · 1.74 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
vim.pack.add { "https://github.com/nvim-lualine/lualine.nvim" }
local colors = require "pea.plugin.lualine.colors"
local components = require "pea.plugin.lualine.components"
require("lualine").setup {
options = {
theme = {
normal = {
c = { fg = colors.fg, bg = colors.bg },
},
inactive = {
c = { fg = colors.fg, bg = colors.bg },
},
},
disabled_filetypes = {
"",
"fzf",
"checkhealth",
"gitsigns-blame",
"help",
"input",
"mason",
"pager",
"select",
"toggleterm",
},
globalstatus = true,
component_separators = "",
section_separators = "",
},
extensions = lib.require_modules("pea.plugin.lualine.extensions", { "pack", "quickfix", "fyler" }),
sections = {
lualine_a = {},
lualine_b = {},
lualine_y = {},
lualine_z = {},
lualine_c = {
components.leftbar,
components.evil,
components.filesize,
components.filetype,
components.location,
components.diagnostics,
components.macro,
components.debug,
components.center,
components.lsp,
},
lualine_x = {
components.treesitter,
components.os,
components.encoding,
components.branch,
components.scrollbar,
},
},
inactive_sections = {
lualine_a = {
"filename",
},
lualine_b = {},
lualine_y = {},
lualine_z = {},
lualine_c = {},
lualine_x = {},
},
}