aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorAlex Koch <alex549us3@gmail.com>2023-09-20 08:29:35 -0600
committerGitHub <noreply@github.com>2023-09-20 11:29:35 -0300
commite32fa3608f8e94358493ac6b1ff75f0c310b71d1 (patch)
tree6bbafbb56af93db94e5f9c9927b54206b076708d /lua
parent7fb36e0f67aa6f3d7f3e54f37ca7032ea1af0b59 (diff)
downloadgruvbox-e32fa3608f8e94358493ac6b1ff75f0c310b71d1.tar.gz
gruvbox-e32fa3608f8e94358493ac6b1ff75f0c310b71d1.tar.xz
adds emphasis option (#272)
* adds emphasis option * add testing for emphasis option --------- Co-authored-by: Alex Koch <alex.koch@entrust.com>
Diffstat (limited to 'lua')
-rw-r--r--lua/gruvbox/groups.lua2
-rw-r--r--lua/gruvbox/init.lua1
2 files changed, 2 insertions, 1 deletions
diff --git a/lua/gruvbox/groups.lua b/lua/gruvbox/groups.lua
index a799426..6b168b1 100644
--- a/lua/gruvbox/groups.lua
+++ b/lua/gruvbox/groups.lua
@@ -339,7 +339,7 @@ M.setup = function()
-- @text.strong ; bold text
["@text.strong"] = { bold = config.bold },
-- @text.emphasis ; text with emphasis
- ["@text.emphasis"] = { italic = config.italic.strings },
+ ["@text.emphasis"] = { italic = config.italic.emphasis },
-- @text.underline ; underlined text
["@text.underline"] = { underline = config.underline },
-- @text.strike ; strikethrough text
diff --git a/lua/gruvbox/init.lua b/lua/gruvbox/init.lua
index d287209..caf2291 100644
--- a/lua/gruvbox/init.lua
+++ b/lua/gruvbox/init.lua
@@ -7,6 +7,7 @@ M.config = {
bold = true,
italic = {
strings = true,
+ emphasis = true,
comments = true,
operators = false,
folds = true,