From 933bd158ce48d853548cd290e246636fa4d55fd4 Mon Sep 17 00:00:00 2001 From: Francisco Lopes Date: Fri, 25 Jun 2021 09:33:10 -0300 Subject: [PATCH] feat: add setting for bold A section of lualine (#68) Upstream lualine themes have this section in bold, so provide an option to have that. --- lua/lualine/themes/tokyonight.lua | 6 ++++++ lua/tokyonight/config.lua | 1 + 2 files changed, 7 insertions(+) diff --git a/lua/lualine/themes/tokyonight.lua b/lua/lualine/themes/tokyonight.lua index ebe3065..5312214 100644 --- a/lua/lualine/themes/tokyonight.lua +++ b/lua/lualine/themes/tokyonight.lua @@ -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 diff --git a/lua/tokyonight/config.lua b/lua/tokyonight/config.lua index 4d027ba..2960b0f 100644 --- a/lua/tokyonight/config.lua +++ b/lua/tokyonight/config.lua @@ -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