Skip to content

Commit f2336e9

Browse files
committed
feat: Add ui.bufferline.active styles for helix
1 parent 057ef5d commit f2336e9

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

extras/helix/tokyonight_day.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,4 @@ teal = "#118c74"
165165
terminal_black = "#a1a6c5"
166166
todo = "#2e7de9"
167167
warning = "#8c6c3e"
168-
yellow = "#8c6c3e"
168+
yellow = "#8c6c3e"

extras/helix/tokyonight_moon.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,4 @@ teal = "#4fd6be"
165165
terminal_black = "#444a73"
166166
todo = "#82aaff"
167167
warning = "#ffc777"
168-
yellow = "#ffc777"
168+
yellow = "#ffc777"

extras/helix/tokyonight_night.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,4 @@ teal = "#1abc9c"
165165
terminal_black = "#414868"
166166
todo = "#7aa2f7"
167167
warning = "#e0af68"
168-
yellow = "#e0af68"
168+
yellow = "#e0af68"

extras/helix/tokyonight_storm.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,4 @@ teal = "#1abc9c"
165165
terminal_black = "#414868"
166166
todo = "#7aa2f7"
167167
warning = "#e0af68"
168-
yellow = "#e0af68"
168+
yellow = "#e0af68"

lua/tokyonight/extra/helix.lua

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ function M.generate(colors)
7878
directive = "PreProc",
7979
["function"] = "@keyword.function",
8080
storage = {
81-
nil, -- rust: `let`
82-
type = nil, -- rust: `struct` & `type`
81+
nil, -- rust: `let`
82+
type = nil, -- rust: `struct` & `type`
8383
modifier = nil, -- rust: `mut`
8484
},
8585
},
@@ -164,6 +164,14 @@ function M.generate(colors)
164164
{ "helix", bg = "bg" },
165165
separator = nil,
166166
},
167+
bufferline = {
168+
nil,
169+
active = {
170+
"helix",
171+
fg = "fg",
172+
bg = "bg_visual",
173+
},
174+
},
167175
cursor = {
168176
"Cursor",
169177
normal = nil,
@@ -343,7 +351,7 @@ function M.pairsByKeys(t, f)
343351
table.insert(a, n)
344352
end
345353
table.sort(a, f)
346-
local i = 0 -- iterator variable
354+
local i = 0 -- iterator variable
347355
local iter = function() -- iterator function
348356
i = i + 1
349357
if a[i] == nil then

0 commit comments

Comments
 (0)