init.lua/lua/configs/statusline.lua(view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
require("lualine").setup {
options = {
theme = "kanagawa",
globalstatus = true,
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
disabled_filetypes = {
"NvimTree",
"TelescopePrompt",
"NeogitStatus",
"packer",
},
},
sections = {
lualine_a = { "filename" },
lualine_b = { "branch" },
lualine_c = { "location" },
lualine_x = { "diff", { "diagnostics", sources = { "nvim_diagnostic" } } },
lualine_y = {},
lualine_z = {},
},
}
|