neovim: center filename with lualine
This commit is contained in:
parent
b0cfbf184f
commit
4c08871afe
2 changed files with 67 additions and 2 deletions
|
|
@ -28,7 +28,18 @@
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
];
|
];
|
||||||
c = ["filename"];
|
c = [
|
||||||
|
#lua
|
||||||
|
''
|
||||||
|
"%=",
|
||||||
|
{
|
||||||
|
"filename",
|
||||||
|
symbols = {modified = ' ', readonly = ' '},
|
||||||
|
separator = {right = ' '},
|
||||||
|
path = 1,
|
||||||
|
}
|
||||||
|
''
|
||||||
|
];
|
||||||
x = [
|
x = [
|
||||||
# lua
|
# lua
|
||||||
''
|
''
|
||||||
|
|
@ -47,6 +58,61 @@
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
];
|
];
|
||||||
|
y = [
|
||||||
|
#lua
|
||||||
|
''
|
||||||
|
{
|
||||||
|
"",
|
||||||
|
draw_empty = true,
|
||||||
|
separator = { left = ' ', right = ' ' }
|
||||||
|
}
|
||||||
|
''
|
||||||
|
''
|
||||||
|
{
|
||||||
|
'searchcount',
|
||||||
|
maxcount = 999,
|
||||||
|
timeout = 120,
|
||||||
|
separator = {left = ' '}
|
||||||
|
}
|
||||||
|
''
|
||||||
|
''
|
||||||
|
{
|
||||||
|
"branch",
|
||||||
|
icon = ' •',
|
||||||
|
separator = {left = ' '}
|
||||||
|
}
|
||||||
|
''
|
||||||
|
];
|
||||||
|
z = [
|
||||||
|
#lua
|
||||||
|
''
|
||||||
|
{
|
||||||
|
"",
|
||||||
|
draw_empty = true,
|
||||||
|
separator = { left = ' ', right = ' ' }
|
||||||
|
}
|
||||||
|
''
|
||||||
|
''
|
||||||
|
{
|
||||||
|
"progress",
|
||||||
|
separator = {left = ' '}
|
||||||
|
}
|
||||||
|
''
|
||||||
|
''
|
||||||
|
{"location"}
|
||||||
|
''
|
||||||
|
''
|
||||||
|
{
|
||||||
|
"fileformat",
|
||||||
|
color = {fg='black'},
|
||||||
|
symbols = {
|
||||||
|
unix = '', -- e712
|
||||||
|
dos = '', -- e70f
|
||||||
|
mac = '', -- e711
|
||||||
|
}
|
||||||
|
}
|
||||||
|
''
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
inputs,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue