style: rework lualine layout
This commit is contained in:
parent
6eedc63abb
commit
7346c8991b
2 changed files with 5 additions and 2 deletions
|
@ -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";
|
||||||
|
|
|
@ -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" },
|
||||||
|
|
Loading…
Reference in a new issue