|
|
- return {
- "nvim-lualine/lualine.nvim",
- dependencies = {
- "nvim-tree/nvim-web-devicons",
- "letieu/harpoon-lualine",
- },
- config = function()
- local lualine = require("lualine")
- local lazy_status = require("lazy.status")
-
- lualine.setup({
- options = {
- theme = "kanagawa",
- component_separators = { left = "", right = "" },
- section_separators = { left = "", right = "" },
- globalstatus = true,
- },
- sections = {
- lualine_b = {
- { "branch" },
- { "diff" },
- { "diagnostics" },
- },
- lualine_c = {
- { "filename", file_status = true, path = 1 },
- { "harpoon2" },
- },
- lualine_x = {
- {
- lazy_status.updates,
- cond = lazy_status.has_updates,
- color = { fg = "#ff9e64" },
- },
- { "fileformat" },
- { "filetype" },
- },
- },
- })
- end,
- }
|