We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 886f541 commit fd5d334Copy full SHA for fd5d334
lua/window-picker/hints/statusline-winbar-hint.lua
@@ -62,7 +62,7 @@ end
62
--- Shows the characters in status line
63
--- @param windows number[] windows to draw the hints on
64
function M:draw(windows)
65
- local hint_type = unpack(self:get_hint_type())
+ local hint_type = self:get_hint_type()
66
67
local g_opts_to_cap = self.opt_cap[hint_type].g
68
local w_opts_to_cap = self.opt_cap[hint_type].w
@@ -163,16 +163,10 @@ function M:get_hint_type()
163
end
164
165
if use_winbar then
166
- return {
167
- 'winbar',
168
- 'WinBar',
169
- }
+ return 'winbar'
170
171
172
173
- 'statusline',
174
- 'StatusLine',
175
+ return 'statusline'
176
177
178
function M:set_plugin_hl()
0 commit comments