This repository has been archived on 2024-05-02. You can view files and clone it, but cannot push or open issues or pull requests.
neovim-flake/neovim-ide/plugin/lualine.lua

71 lines
2.0 KiB
Lua

local colors = require("catppuccin.palettes").get_palette "mocha"
require("lualine").setup {
sections = {
lualine_a = { "", { "mode" } },
lualine_b = {
{ "branch" },
{ "diff" },
},
lualine_c = {
{ "filetype", icon_only = true },
{ "filename" },
{ "diagnostics" },
{
"lsp_progress",
display_components = { "lsp_client_name", { "title", "percentage", "message" } },
colors = {
percentage = colors.blue,
title = colors.blue,
message = colors.blue,
spinner = colors.blue,
lsp_client_name = colors.teal,
use = true,
},
},
},
lualine_x = {},
lualine_y = {
{ "encoding" },
{ "fileformat" },
},
lualine_z = {
{ "progress" },
},
},
winbar = {
lualine_x = {
{ "filename", path = 1 },
{ "filetype", icon_only = true },
},
},
inactive_winbar = {
lualine_x = {
{ "diagnostics" },
{ "filename", path = 1 },
{ "filetype", icon_only = true },
},
},
extensions = { "fugitive", "lazy", "man", "neo-tree", "nvim-dap-ui", "quickfix" },
options = {
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
disabled_filetypes = {
statusline = {},
winbar = {
"help",
"lazy",
"neo-tree",
"dapui_stacks",
"dapui_watches",
"dapui_breakpoints",
"dapui_scopes",
"dapui_console",
"dap-repl",
"fugitive",
},
},
theme = "catppuccin",
},
}