style: rework lualine layout

This commit is contained in:
Youwen Wu 2024-10-11 13:13:54 -07:00
parent 6eedc63abb
commit 7346c8991b
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,5 @@
{
description = "A Lua-natic's neovim flake, with extra cats! nixCats!";
description = "A Neovim configuration for the stubborn Nixian hacker";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";

View file

@ -23,12 +23,15 @@ return {
sections = {
lualine_a = { "branch" },
lualine_b = {
"filetype",
},
lualine_c = {
"progress",
function()
require("lz.n").trigger_load("lsp-progress")
return require("lsp-progress").progress()
end,
},
lualine_c = { "progress", "filetype" },
lualine_x = { "encoding", "fileformat" },
lualine_y = { "diff", "diagnostics" },
lualine_z = { "location" },