File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1+ local opts = require (" nvconfig" ).base46
2+
13local base16 = require (" base46" ).get_theme_tb " base_16"
24local colors = require (" base46" ).get_theme_tb " base_30"
35
@@ -43,8 +45,10 @@ local hlgroups = {
4345 NavicSeparator = { fg = colors .red },
4446}
4547
46- for _ , value in pairs (hlgroups ) do
47- value [" bg" ] = colors .statusline_bg
48+ if not opts .transparency then
49+ for _ , value in pairs (hlgroups ) do
50+ value [" bg" ] = colors .statusline_bg
51+ end
4852end
4953
5054return hlgroups
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ local theme = require("base46").get_theme_tb "base_16"
22local base30 = require (" base46" ).get_theme_tb " base_30"
33
44local opts = require (" nvconfig" ).base46
5- local transparent = opts .transparent
65
76return {
87
@@ -79,7 +78,7 @@ return {
7978 [" @markup.underline" ] = { underline = true },
8079 [" @markup.italic" ] = { italic = true },
8180 [" @markup.strikethrough" ] = { strikethrough = true },
82- [" @markup.quote" ] = { bg = transparent and nil or base30 .black2 },
81+ [" @markup.quote" ] = { bg = opts . transparency and nil or base30 .black2 },
8382
8483 [" @comment" ] = { fg = base30 .grey_fg },
8584 [" @comment.todo" ] = { fg = base30 .grey , bg = base30 .white },
You can’t perform that action at this time.
0 commit comments