Skip to content

Commit 90fcbf9

Browse files
authored
fix: typo in nvim_set_hl (#48)
* fix: typo in nvim_set_hl
1 parent 2c8200c commit 90fcbf9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Diff for: lua/window-picker/hints/statusline-winbar-hint.lua

+1-5
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@ function M:set_config(config)
3232

3333
if type(config.highlights.winbar.focused) == 'table' then
3434
self.wb_hi = 'WindowPickerWinBar'
35-
vim.api.nvim_set_hl(
36-
0,
37-
self.wb_hi,
38-
config.highlights.statusline.unfocused
39-
)
35+
vim.api.nvim_set_hl(0, self.wb_hi, config.highlights.statusline.focused)
4036
end
4137

4238
if type(config.highlights.winbar.unfocused) == 'table' then

0 commit comments

Comments
 (0)