Skip to content

Commit

Permalink
feat: add setting for bold A section of lualine (folke#68)
Browse files Browse the repository at this point in the history
Upstream lualine themes have this section in bold, so provide an option
to have that.
  • Loading branch information
oblitum authored Jun 25, 2021
1 parent 77b9e4d commit 64142d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lua/lualine/themes/tokyonight.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,10 @@ if vim.o.background == "light" then
end
end

if vim.g.tokyonight_lualine_bold then
for _, mode in pairs(tokyonight) do
mode.a.gui = "bold"
end
end

return tokyonight
1 change: 1 addition & 0 deletions lua/tokyonight/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ config = {
darkFloat = opt("dark_float", true),
darkSidebar = opt("dark_sidebar", true),
transform_colors = false,
lualineBold = opt("lualine_bold", false),
}

if config.style == "day" then
Expand Down

0 comments on commit 64142d9

Please sign in to comment.