1
Fork 0
satellite/dotfiles/neovim/lua/my/plugins/lualine.lua

30 lines
651 B
Lua
Raw Normal View History

2022-12-27 20:45:43 +01:00
local env = require("my.helpers.env")
2022-02-23 15:44:33 +01:00
2022-12-27 20:45:43 +01:00
local M = {
"nvim-lualine/lualine.nvim",
event = "VeryLazy",
cond = env.vscode.not_active() and env.neovide.not_active(),
}
function M.config()
require("lualine").setup({
theme = "auto",
2022-08-24 13:13:35 +02:00
options = {
2022-12-27 20:45:43 +01:00
component_separators = "",
section_separators = { left = "", right = "" },
2022-08-24 13:13:35 +02:00
},
sections = {
2022-12-27 20:45:43 +01:00
lualine_a = { "branch" },
lualine_b = { "filename" },
lualine_c = { "filetype" },
lualine_x = { "diagnostics" },
lualine_y = {},
lualine_z = {},
2022-08-24 13:13:35 +02:00
},
-- Integration with other plugins
2022-12-27 20:45:43 +01:00
extensions = { "nvim-tree" },
2022-08-24 13:13:35 +02:00
})
2022-02-23 15:44:33 +01:00
end
return M