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 = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";

View file

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