plugins/lualine: add test for icon option

This commit is contained in:
Gaetan Lepage 2024-01-05 15:23:26 +01:00 committed by Gaétan Lepage
parent a2c5bd3548
commit 856b88d1e3

View file

@ -59,6 +59,7 @@
# you can specify only the sections you want to change # you can specify only the sections you want to change
{ {
name = "filename"; name = "filename";
icon = "-";
extraConfig = { extraConfig = {
newfile_status = true; newfile_status = true;
path = 1; path = 1;
@ -75,6 +76,10 @@
lualine_a = [ lualine_a = [
{ {
name = "buffers"; name = "buffers";
icon = {
icon = "X";
align = "right";
};
extraConfig.mode = 4; extraConfig.mode = 4;
extraConfig.filetype_names = { extraConfig.filetype_names = {
TelescopePrompt = "Telescope"; TelescopePrompt = "Telescope";