From 7346c8991bf035d0ab9fc7d054bf24b2b241f576 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Fri, 11 Oct 2024 13:13:54 -0700 Subject: [PATCH] style: rework lualine layout --- flake.nix | 2 +- lua/plugins/lualine.lua | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index e660bb5..421ad55 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; diff --git a/lua/plugins/lualine.lua b/lua/plugins/lualine.lua index aad94fb..6d41c42 100644 --- a/lua/plugins/lualine.lua +++ b/lua/plugins/lualine.lua @@ -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" },